Nektar++
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 188 of file ProcessIsoContour.h.

Constructor & Destructor Documentation

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

Definition at line 193 of file ProcessIsoContour.h.

References m_id, m_x, m_y, and m_z.

Nektar::Utilities::IsoVertex::~IsoVertex ( )
inline

Definition at line 199 of file ProcessIsoContour.h.

199 {};

Member Function Documentation

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

Definition at line 201 of file ProcessIsoContour.h.

References m_iso_id.

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

Definition at line 206 of file ProcessIsoContour.h.

References m_iso_vert_id.

207  {
208  return m_iso_vert_id;
209  }

Friends And Related Function Documentation

friend class Iso
friend

Definition at line 191 of file ProcessIsoContour.h.

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

Definition at line 644 of file ProcessIsoContour.cpp.

645 {
646  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) +
647  (x.m_z-y.m_z)*(x.m_z-y.m_z) < SQ_PNT_TOL)? 0:1;
648 }
bool operator== ( const IsoVertex x,
const IsoVertex y 
)
friend

Definition at line 637 of file ProcessIsoContour.cpp.

638 {
639  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) +
640  (x.m_z-y.m_z)*(x.m_z-y.m_z) < SQ_PNT_TOL)? true:false;
641 }

Member Data Documentation

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

Definition at line 219 of file ProcessIsoContour.h.

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

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

Definition at line 215 of file ProcessIsoContour.h.

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

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

Definition at line 216 of file ProcessIsoContour.h.

Referenced by get_iso_id().

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

Definition at line 217 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