Nektar++
|
Represents a point in the domain. More...
#include <MeshElements.h>
Public Member Functions | |
Node (int pId, NekDouble pX, NekDouble pY, NekDouble pZ) | |
Create a new node at a specified coordinate. More... | |
Node (const Node &pSrc) | |
Copy an existing node. More... | |
Node () | |
~Node () | |
void | SetID (int pId) |
Reset the local id;. More... | |
int | GetID (void) |
Get the local id;. More... | |
bool | operator< (const Node &pSrc) |
Define node ordering based on ID. More... | |
bool | operator== (const Node &pSrc) |
Define node equality based on coordinate. More... | |
Node | operator+ (const Node &pSrc) const |
Node | operator- (const Node &pSrc) const |
Node | operator* (const Node &pSrc) const |
Node | operator* (const NekDouble &alpha) const |
Node | operator/ (const NekDouble &alpha) const |
void | operator+= (const Node &pSrc) |
void | operator*= (const NekDouble &alpha) |
void | operator/= (const NekDouble &alpha) |
NekDouble | abs2 () const |
NekDouble | dot (const Node &pSrc) const |
Node | curl (const Node &pSrc) const |
SpatialDomains::PointGeomSharedPtr | GetGeom (int coordDim) |
Generate a SpatialDomains::PointGeom for this node. More... | |
Public Attributes | |
int | m_id |
ID of node. More... | |
NekDouble | m_x |
X-coordinate. More... | |
NekDouble | m_y |
Y-coordinate. More... | |
NekDouble | m_z |
Z-coordinate. More... | |
Private Attributes | |
SpatialDomains::PointGeomSharedPtr | m_geom |
Represents a point in the domain.
Such points may either be element vertices, or simply control points on high-order edges/faces, although this information is not contained within this class.
Definition at line 74 of file MeshElements.h.
Create a new node at a specified coordinate.
Definition at line 77 of file MeshElements.h.
|
inline |
Copy an existing node.
Definition at line 80 of file MeshElements.h.
|
inline |
Definition at line 83 of file MeshElements.h.
Referenced by curl(), operator*(), operator+(), operator-(), and operator/().
|
inline |
Definition at line 84 of file MeshElements.h.
|
inline |
Definition at line 155 of file MeshElements.h.
Referenced by Nektar::Utilities::ProcessSpherigon::GenerateNormals(), Nektar::Utilities::ProcessPerAlign::Process(), and Nektar::Utilities::ProcessSpherigon::Process().
Definition at line 166 of file MeshElements.h.
References m_id, m_x, m_y, m_z, and Node().
Referenced by Nektar::Utilities::InputStar::SortEdgeNodes(), Nektar::Utilities::InputTec::SortEdgeNodes(), Nektar::Utilities::InputStar::SortFaceNodes(), and Nektar::Utilities::InputTec::SortFaceNodes().
|
inline |
Generate a SpatialDomains::PointGeom for this node.
Definition at line 173 of file MeshElements.h.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), m_id, m_x, m_y, and m_z.
|
inline |
Definition at line 141 of file MeshElements.h.
Definition at line 134 of file MeshElements.h.
Definition at line 148 of file MeshElements.h.
|
inline |
|
inline |
|
inline |
|
private |
Definition at line 192 of file MeshElements.h.
int Nektar::Utilities::Node::m_id |
ID of node.
Definition at line 183 of file MeshElements.h.
Referenced by curl(), GetGeom(), GetID(), operator*(), operator+(), operator-(), operator/(), operator<(), Nektar::Utilities::ProcessPerAlign::Process(), and SetID().
NekDouble Nektar::Utilities::Node::m_x |
X-coordinate.
Definition at line 185 of file MeshElements.h.
Referenced by abs2(), Nektar::Utilities::ProcessSpherigon::CrossProdMag(), curl(), dot(), Nektar::Utilities::ProcessSpherigon::GenerateNormals(), GetGeom(), operator*(), operator*=(), operator+(), operator+=(), operator-(), operator/(), operator/=(), operator==(), Nektar::Utilities::ProcessPerAlign::Process(), Nektar::Utilities::ProcessSpherigon::Process(), Nektar::Utilities::ProcessScalar::Process(), and Nektar::Utilities::ProcessSpherigon::UnitCrossProd().
NekDouble Nektar::Utilities::Node::m_y |
Y-coordinate.
Definition at line 187 of file MeshElements.h.
Referenced by abs2(), Nektar::Utilities::ProcessSpherigon::CrossProdMag(), curl(), dot(), Nektar::Utilities::ProcessSpherigon::GenerateNormals(), GetGeom(), operator*(), operator*=(), operator+(), operator+=(), operator-(), operator/(), operator/=(), operator==(), Nektar::Utilities::ProcessPerAlign::Process(), Nektar::Utilities::ProcessSpherigon::Process(), Nektar::Utilities::ProcessScalar::Process(), and Nektar::Utilities::ProcessSpherigon::UnitCrossProd().
NekDouble Nektar::Utilities::Node::m_z |
Z-coordinate.
Definition at line 189 of file MeshElements.h.
Referenced by abs2(), Nektar::Utilities::ProcessSpherigon::CrossProdMag(), curl(), dot(), Nektar::Utilities::ProcessSpherigon::GenerateNormals(), GetGeom(), operator*(), operator*=(), operator+(), operator+=(), operator-(), operator/(), operator/=(), operator==(), Nektar::Utilities::ProcessPerAlign::Process(), Nektar::Utilities::ProcessSpherigon::Process(), Nektar::Utilities::ProcessScalar::Process(), and Nektar::Utilities::ProcessSpherigon::UnitCrossProd().