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

Constructor & Destructor Documentation

◆ IsoVertex()

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

◆ ~IsoVertex()

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

Definition at line 199 of file ProcessIsoContour.h.

199 {};

Member Function Documentation

◆ get_iso_id()

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

Definition at line 201 of file ProcessIsoContour.h.

202  {
203  return m_iso_id;
204  }

◆ get_iso_vert_id()

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

Friends And Related Function Documentation

◆ Iso

friend class Iso
friend

Definition at line 191 of file ProcessIsoContour.h.

◆ operator!=

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

Definition at line 965 of file ProcessIsoContour.cpp.

966 {
967  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) +
968  (x.m_z-y.m_z)*(x.m_z-y.m_z) < NekConstants::kNekZeroTol)? 0:1;
969 }
static const NekDouble kNekZeroTol

◆ operator==

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

Definition at line 958 of file ProcessIsoContour.cpp.

959 {
960  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) +
961  (x.m_z-y.m_z)*(x.m_z-y.m_z) < NekConstants::kNekZeroTol)? true:false;
962 }
static const NekDouble kNekZeroTol

Member Data Documentation

◆ m_fields

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

Definition at line 219 of file ProcessIsoContour.h.

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

◆ m_id

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

Definition at line 215 of file ProcessIsoContour.h.

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

◆ m_iso_id

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

Definition at line 216 of file ProcessIsoContour.h.

◆ m_iso_vert_id

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

Definition at line 217 of file ProcessIsoContour.h.

◆ m_x

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

◆ m_y

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

◆ m_z

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