Nektar++
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | Friends | List of all members
Nektar::Utilities::IsoVertex Class Reference

#include <ProcessIsoContour.h>

Collaboration diagram for Nektar::Utilities::IsoVertex:
Collaboration graph
[legend]

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
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

Nektar::Utilities::IsoVertex::IsoVertex ( void  )
inline

Definition at line 191 of file ProcessIsoContour.h.

References m_id, m_x, m_y, and m_z.

{
m_id = -1;
m_x = m_y = m_z = -99999;
}
Nektar::Utilities::IsoVertex::~IsoVertex ( )
inline

Definition at line 197 of file ProcessIsoContour.h.

{};

Member Function Documentation

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

Definition at line 199 of file ProcessIsoContour.h.

References m_iso_id.

{
return m_iso_id;
}
int Nektar::Utilities::IsoVertex::get_iso_vert_id ( )
inline

Definition at line 204 of file ProcessIsoContour.h.

References m_iso_vert_id.

{
return m_iso_vert_id;
}

Friends And Related Function Documentation

friend class Iso
friend

Definition at line 189 of file ProcessIsoContour.h.

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

Definition at line 641 of file ProcessIsoContour.cpp.

{
return ((x.m_x-y.m_x)*(x.m_x-y.m_x) + (x.m_y-y.m_y)*(x.m_y-y.m_y) +
(x.m_z-y.m_z)*(x.m_z-y.m_z) < SQ_PNT_TOL)? 0:1;
}
bool operator== ( const IsoVertex x,
const IsoVertex y 
)
friend

Definition at line 634 of file ProcessIsoContour.cpp.

{
return ((x.m_x-y.m_x)*(x.m_x-y.m_x) + (x.m_y-y.m_y)*(x.m_y-y.m_y) +
(x.m_z-y.m_z)*(x.m_z-y.m_z) < SQ_PNT_TOL)? true:false;
}

Member Data Documentation

vector<NekDouble > Nektar::Utilities::IsoVertex::m_fields
private

Definition at line 217 of file ProcessIsoContour.h.

Referenced by Nektar::Utilities::Iso::condense().

int Nektar::Utilities::IsoVertex::m_id
private

Definition at line 213 of file ProcessIsoContour.h.

Referenced by Nektar::Utilities::Iso::condense(), and IsoVertex().

int Nektar::Utilities::IsoVertex::m_iso_id
private

Definition at line 214 of file ProcessIsoContour.h.

Referenced by get_iso_id().

int Nektar::Utilities::IsoVertex::m_iso_vert_id
private

Definition at line 215 of file ProcessIsoContour.h.

Referenced by get_iso_vert_id().

NekDouble Nektar::Utilities::IsoVertex::m_x
private
NekDouble Nektar::Utilities::IsoVertex::m_y
private
NekDouble Nektar::Utilities::IsoVertex::m_z
private