35 #ifndef NEKMESHUTILS_MESHELEMENTS_PYM 36 #define NEKMESHUTILS_MESHELEMENTS_PYM 43 namespace NekMeshUtils
53 std::vector<NodeSharedPtr> pNodeList,
54 std::vector<int> pTagList)
56 return std::make_shared<Pyramid>(pConf, pNodeList, pTagList);
62 std::vector<NodeSharedPtr> pNodeList,
63 std::vector<int> pTagList);
Basic information about an element.
static ElementSharedPtr create(ElmtConfig pConf, std::vector< NodeSharedPtr > pNodeList, std::vector< int > pTagList)
Creates an instance of this class.
virtual NEKMESHUTILS_EXPORT SpatialDomains::GeometrySharedPtr GetGeom(int coordDim)
Generate a Nektar++ geometry object for this element.
std::shared_ptr< Element > ElementSharedPtr
std::shared_ptr< Geometry > GeometrySharedPtr
A 3-dimensional square-based pyramidic element.
virtual NEKMESHUTILS_EXPORT ~Pyramid()
virtual NEKMESHUTILS_EXPORT int GetFaceVertex(int i, int j)
Returns the local index of vertex j of face i.
static LibUtilities::ShapeType type
Element type.
#define NEKMESHUTILS_EXPORT
static NEKMESHUTILS_EXPORT unsigned int GetNumNodes(ElmtConfig pConf)
Return the number of nodes defining a pyramid.
NEKMESHUTILS_EXPORT Pyramid(ElmtConfig pConf, std::vector< NodeSharedPtr > pNodeList, std::vector< int > pTagList)
Create a pyramidic element.
static int m_faceIds[5][4]
Vertex IDs that make up pyramid faces.
Base class for element definitions.