36 #ifndef NEKMESHUTILS_MESHELEMENTS_PYM
37 #define NEKMESHUTILS_MESHELEMENTS_PYM
44 namespace NekMeshUtils
54 std::vector<NodeSharedPtr> pNodeList,
55 std::vector<int> pTagList)
57 return boost::shared_ptr<Element>(
58 new Pyramid(pConf, pNodeList, pTagList));
64 std::vector<NodeSharedPtr> pNodeList,
65 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.
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.
boost::shared_ptr< Element > ElementSharedPtr
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.
boost::shared_ptr< Geometry > GeometrySharedPtr
Base class for element definitions.