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. | |
Node (const Node &pSrc) | |
Copy an existing node. | |
Node () | |
~Node () | |
void | SetID (int pId) |
Reset the local id;. | |
int | GetID (void) |
Get the local id;. | |
bool | operator< (const Node &pSrc) |
Define node ordering based on ID. | |
bool | operator== (const Node &pSrc) |
Define node equality based on coordinate. | |
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. |
Public Attributes | |
int | m_id |
ID of node. | |
NekDouble | m_x |
X-coordinate. | |
NekDouble | m_y |
Y-coordinate. | |
NekDouble | m_z |
Z-coordinate. |
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.
|
inline |
|
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::InputTec::SortEdgeNodes(), and Nektar::Utilities::InputTec::SortFaceNodes().
Definition at line 160 of file MeshElements.h.
Referenced by Nektar::Utilities::ProcessSpherigon::Process(), Nektar::Utilities::InputTec::SortEdgeNodes(), and Nektar::Utilities::InputTec::SortFaceNodes().
|
inline |
|
inline |
|
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().