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

#include <ProcessIsoContour.h>

Collaboration diagram for Nektar::FieldUtils::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 189 of file ProcessIsoContour.h.

Constructor & Destructor Documentation

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

Definition at line 194 of file ProcessIsoContour.h.

References m_id, m_x, m_y, and m_z.

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

Definition at line 200 of file ProcessIsoContour.h.

200 {};

Member Function Documentation

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

Definition at line 202 of file ProcessIsoContour.h.

References m_iso_id.

203  {
204  return m_iso_id;
205  }
int Nektar::FieldUtils::IsoVertex::get_iso_vert_id ( )
inline

Definition at line 207 of file ProcessIsoContour.h.

References m_iso_vert_id.

208  {
209  return m_iso_vert_id;
210  }

Friends And Related Function Documentation

friend class Iso
friend

Definition at line 192 of file ProcessIsoContour.h.

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

Definition at line 986 of file ProcessIsoContour.cpp.

987 {
988  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) +
989  (x.m_z-y.m_z)*(x.m_z-y.m_z) < NekConstants::kNekZeroTol)? 0:1;
990 }
static const NekDouble kNekZeroTol
bool operator== ( const IsoVertex x,
const IsoVertex y 
)
friend

Definition at line 979 of file ProcessIsoContour.cpp.

980 {
981  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) +
982  (x.m_z-y.m_z)*(x.m_z-y.m_z) < NekConstants::kNekZeroTol)? true:false;
983 }
static const NekDouble kNekZeroTol

Member Data Documentation

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

Definition at line 220 of file ProcessIsoContour.h.

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

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

Definition at line 216 of file ProcessIsoContour.h.

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

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

Definition at line 217 of file ProcessIsoContour.h.

Referenced by get_iso_id().

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

Definition at line 218 of file ProcessIsoContour.h.

Referenced by get_iso_vert_id().

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