Nektar++
Public Member Functions | Private Attributes | Friends | List of all members
Nektar::FieldUtils::IsoVertex Class Reference

#include <ProcessIsoContour.h>

Public Member Functions

 IsoVertex (void)
 
 ~IsoVertex ()
 
int get_iso_id ()
 
int get_iso_vert_id ()
 

Private Attributes

int m_id
 
int m_iso_id
 
int m_iso_vert_id
 
NekDouble m_x
 
NekDouble m_y
 
NekDouble m_z
 
std::vector< NekDoublem_fields
 

Friends

class Iso
 
bool operator== (const IsoVertex &x, const IsoVertex &y)
 
bool operator!= (const IsoVertex &x, const IsoVertex &y)
 

Detailed Description

Definition at line 186 of file ProcessIsoContour.h.

Constructor & Destructor Documentation

◆ IsoVertex()

Nektar::FieldUtils::IsoVertex::IsoVertex ( void  )
inline

Definition at line 191 of file ProcessIsoContour.h.

References m_id, m_x, m_y, and m_z.

◆ ~IsoVertex()

Nektar::FieldUtils::IsoVertex::~IsoVertex ( )
inline

Definition at line 197 of file ProcessIsoContour.h.

197{};

Member Function Documentation

◆ get_iso_id()

int Nektar::FieldUtils::IsoVertex::get_iso_id ( )
inline

Definition at line 199 of file ProcessIsoContour.h.

200 {
201 return m_iso_id;
202 }

References m_iso_id.

◆ get_iso_vert_id()

int Nektar::FieldUtils::IsoVertex::get_iso_vert_id ( )
inline

Definition at line 204 of file ProcessIsoContour.h.

205 {
206 return m_iso_vert_id;
207 }

References m_iso_vert_id.

Friends And Related Function Documentation

◆ Iso

friend class Iso
friend

Definition at line 189 of file ProcessIsoContour.h.

◆ operator!=

bool operator!= ( const IsoVertex x,
const IsoVertex y 
)
friend

Definition at line 963 of file ProcessIsoContour.cpp.

964{
965 return ((x.m_x - y.m_x) * (x.m_x - y.m_x) +
966 (x.m_y - y.m_y) * (x.m_y - y.m_y) +
967 (x.m_z - y.m_z) * (x.m_z - y.m_z) <
969 ? 0
970 : 1;
971}
static const NekDouble kNekZeroTol

◆ operator==

bool operator== ( const IsoVertex x,
const IsoVertex y 
)
friend

Definition at line 952 of file ProcessIsoContour.cpp.

953{
954 return ((x.m_x - y.m_x) * (x.m_x - y.m_x) +
955 (x.m_y - y.m_y) * (x.m_y - y.m_y) +
956 (x.m_z - y.m_z) * (x.m_z - y.m_z) <
958 ? true
959 : false;
960}

Member Data Documentation

◆ m_fields

std::vector<NekDouble> Nektar::FieldUtils::IsoVertex::m_fields
private

Definition at line 217 of file ProcessIsoContour.h.

Referenced by Nektar::FieldUtils::Iso::Condense().

◆ m_id

int Nektar::FieldUtils::IsoVertex::m_id
private

Definition at line 213 of file ProcessIsoContour.h.

Referenced by Nektar::FieldUtils::Iso::Condense(), and IsoVertex().

◆ m_iso_id

int Nektar::FieldUtils::IsoVertex::m_iso_id
private

Definition at line 214 of file ProcessIsoContour.h.

Referenced by get_iso_id().

◆ m_iso_vert_id

int Nektar::FieldUtils::IsoVertex::m_iso_vert_id
private

Definition at line 215 of file ProcessIsoContour.h.

Referenced by get_iso_vert_id().

◆ m_x

NekDouble Nektar::FieldUtils::IsoVertex::m_x
private

Definition at line 216 of file ProcessIsoContour.h.

Referenced by Nektar::FieldUtils::Iso::Condense(), and IsoVertex().

◆ m_y

NekDouble Nektar::FieldUtils::IsoVertex::m_y
private

Definition at line 216 of file ProcessIsoContour.h.

Referenced by Nektar::FieldUtils::Iso::Condense(), and IsoVertex().

◆ m_z

NekDouble Nektar::FieldUtils::IsoVertex::m_z
private

Definition at line 216 of file ProcessIsoContour.h.

Referenced by Nektar::FieldUtils::Iso::Condense(), and IsoVertex().