36 #ifndef NEKMESHUTILS_MESHELEMENTS_PYM
37 #define NEKMESHUTILS_MESHELEMENTS_PYM
44 namespace NekMeshUtils
54 std::vector<NodeSharedPtr> pNodeList,
55 std::vector<int> pTagList)
58 boost::shared_ptr<Element>(
new Pyramid(pConf, pNodeList, pTagList));
59 std::vector<FaceSharedPtr> faces = e->GetFaceList();
60 for (
int i = 0; i < faces.size(); ++i)
62 faces[i]->m_elLink.push_back(std::pair<ElementSharedPtr, int>(e, i));
70 std::vector<NodeSharedPtr> pNodeList,
71 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()
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.
boost::shared_ptr< Geometry > GeometrySharedPtr
Base class for element definitions.