Nektar++
|
Represents a vertex in the mesh. More...
Public Member Functions | |
Vertex (int id, double x, double y, double z) | |
Vertex (double pX, double pY, double pZ, double pScalar, double factor) | |
bool | operator== (const Vertex &v) |
Vertex () | |
Vertex (int id, double x, double y) | |
void | init (int id, double x, double y) |
Public Attributes | |
int | id |
double | x |
double | y |
double | z |
double | X |
double | Y |
double | Z |
int | x |
int | y |
int | z |
double | scalar |
int | m_id |
double | m_x |
double | m_y |
Represents a vertex in the mesh.
Each vertex has a 3-component coordinate and a scalar value associated with it. The factor provides a mechanism to specify precision of the coordinate comparison. Although coordinates are provided as floating-point numbers, they are stored as integers. The integer value is computed as floor (x * factor) Therefore a factor of 100 would ensure a precision of 0.01 in the comparison.
Definition at line 12 of file EnsiteToXml.cpp.
|
inline |
|
inline |
Definition at line 47 of file VariableValence2DMeshGenerator.cpp.
|
inline |
|
inline |
|
inline |
int Vertex::id |
Definition at line 19 of file EnsiteToXml.cpp.
int Vertex::m_id |
Definition at line 60 of file VariableValence2DMeshGenerator.cpp.
double Vertex::m_x |
Definition at line 61 of file VariableValence2DMeshGenerator.cpp.
double Vertex::m_y |
Definition at line 62 of file VariableValence2DMeshGenerator.cpp.
double Vertex::scalar |
Definition at line 41 of file VtkToFld.cpp.
double Vertex::x |
Definition at line 21 of file EnsiteToXml.cpp.
Referenced by operator==().
double Vertex::X |
Definition at line 24 of file makeEllipsoidNektar.c.
Referenced by CreateBasicCubicMesh(), CutEdge(), ExtractSubmesh(), MakeClockwiseOrder(), ProjectMeshEllipsoid(), ProjectMeshEllipsoidAndRefine(), ProjectMeshSphere(), ProjectMeshSphereAndRefine(), RefineMesh(), and WriteMesh().
int Vertex::x |
Definition at line 38 of file VtkToFld.cpp.
double Vertex::y |
Definition at line 22 of file EnsiteToXml.cpp.
Referenced by operator==().
double Vertex::Y |
Definition at line 25 of file makeEllipsoidNektar.c.
Referenced by CreateBasicCubicMesh(), CutEdge(), ExtractSubmesh(), MakeClockwiseOrder(), ProjectMeshEllipsoid(), ProjectMeshEllipsoidAndRefine(), ProjectMeshSphere(), ProjectMeshSphereAndRefine(), RefineMesh(), and WriteMesh().
int Vertex::y |
Definition at line 39 of file VtkToFld.cpp.
double Vertex::z |
Definition at line 23 of file EnsiteToXml.cpp.
Referenced by operator==().
double Vertex::Z |
Definition at line 26 of file makeEllipsoidNektar.c.
Referenced by CreateBasicCubicMesh(), CutEdge(), ExtractSubmesh(), MakeClockwiseOrder(), ProjectMeshEllipsoid(), ProjectMeshEllipsoidAndRefine(), ProjectMeshSphere(), ProjectMeshSphereAndRefine(), RefineMesh(), and WriteMesh().
int Vertex::z |
Definition at line 40 of file VtkToFld.cpp.