Nektar++
|
Represents a face comprised of three or more edges. More...
#include <Face.h>
Public Member Functions | |
Face (std::vector< NodeSharedPtr > pVertexList, std::vector< NodeSharedPtr > pFaceNodes, std::vector< EdgeSharedPtr > pEdgeList, LibUtilities::PointsType pCurveType) | |
Create a new face. More... | |
Face (const Face &pSrc) | |
Copy an existing face. More... | |
~Face () | |
bool | operator== (Face &pSrc) |
Equality is defined by matching all vertices. More... | |
unsigned int | GetNodeCount () const |
Returns the total number of nodes (vertices, edge nodes and face nodes). More... | |
void | GetCurvedNodes (std::vector< NodeSharedPtr > &nodeList) const |
Assemble a list of nodes on curved face. More... | |
std::string | GetXmlCurveString () const |
Generates a string listing the coordinates of all nodes associated with this face. More... | |
SpatialDomains::Geometry2DSharedPtr | GetGeom (int coordDim) |
Generate either SpatialDomains::TriGeom or SpatialDomains::QuadGeom for this element. More... | |
Public Attributes | |
unsigned int | m_id |
ID of the face. More... | |
std::vector< NodeSharedPtr > | m_vertexList |
List of vertex nodes. More... | |
std::vector< EdgeSharedPtr > | m_edgeList |
List of corresponding edges. More... | |
std::vector< NodeSharedPtr > | m_faceNodes |
List of face-interior nodes defining the shape of the face. More... | |
LibUtilities::PointsType | m_curveType |
Distribution of points in this face. More... | |
vector< pair< ElementSharedPtr, int > > | m_elLink |
Element(s) which are linked to this face. More... | |
SpatialDomains::Geometry2DSharedPtr | m_geom |
Nektar++ representation of geometry. More... | |
Represents a face comprised of three or more edges.
A face is defined by a list of vertices, a list of edges joining these vertices, and a list of control nodes within the interior of the face, defining the shape of the face.
|
inline |
Create a new face.
Definition at line 64 of file Face.h.
|
inline |
Copy an existing face.
Definition at line 74 of file Face.h.
|
inline |
Assemble a list of nodes on curved face.
Definition at line 114 of file Face.h.
References ASSERTL0, Nektar::LibUtilities::eNodalTriElec, Nektar::LibUtilities::eNodalTriEvenlySpaced, Nektar::LibUtilities::eNodalTriFekete, GetNodeCount(), m_curveType, m_edgeList, m_faceNodes, and m_vertexList.
Referenced by GetXmlCurveString().
|
inline |
Generate either SpatialDomains::TriGeom or SpatialDomains::QuadGeom for this element.
Definition at line 220 of file Face.h.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), ASSERTL0, Nektar::StdRegions::eBackwards, Nektar::StdRegions::eForwards, GetNodeCount(), m_curveType, m_edgeList, m_faceNodes, m_id, and m_vertexList.
|
inline |
Returns the total number of nodes (vertices, edge nodes and face nodes).
Definition at line 102 of file Face.h.
References m_edgeList, m_faceNodes, and m_vertexList.
Referenced by GetCurvedNodes(), and GetGeom().
|
inline |
Generates a string listing the coordinates of all nodes associated with this face.
Definition at line 198 of file Face.h.
References GetCurvedNodes().
|
inline |
Equality is defined by matching all vertices.
Definition at line 85 of file Face.h.
References Nektar::StdRegions::find(), Nektar::iterator, and m_vertexList.
LibUtilities::PointsType Nektar::NekMeshUtils::Face::m_curveType |
Distribution of points in this face.
Definition at line 371 of file Face.h.
Referenced by GetCurvedNodes(), and GetGeom().
std::vector<EdgeSharedPtr> Nektar::NekMeshUtils::Face::m_edgeList |
List of corresponding edges.
Definition at line 367 of file Face.h.
Referenced by GetCurvedNodes(), GetGeom(), and GetNodeCount().
vector<pair<ElementSharedPtr, int> > Nektar::NekMeshUtils::Face::m_elLink |
Element(s) which are linked to this face.
std::vector<NodeSharedPtr> Nektar::NekMeshUtils::Face::m_faceNodes |
List of face-interior nodes defining the shape of the face.
Definition at line 369 of file Face.h.
Referenced by GetCurvedNodes(), GetGeom(), and GetNodeCount().
SpatialDomains::Geometry2DSharedPtr Nektar::NekMeshUtils::Face::m_geom |
unsigned int Nektar::NekMeshUtils::Face::m_id |
std::vector<NodeSharedPtr> Nektar::NekMeshUtils::Face::m_vertexList |
List of vertex nodes.
Definition at line 365 of file Face.h.
Referenced by GetCurvedNodes(), GetGeom(), GetNodeCount(), and operator==().