36 #ifndef NekMeshUtils_MESHELEMENTS_HEX
37 #define NekMeshUtils_MESHELEMENTS_HEX
44 namespace NekMeshUtils
55 std::vector<NodeSharedPtr> pNodeList,
56 std::vector<int> pTagList)
60 vector<FaceSharedPtr> faces = e->GetFaceList();
61 for (
int i = 0; i < faces.size(); ++i)
63 faces[i]->m_elLink.push_back(pair<ElementSharedPtr, int>(e, i));
71 std::vector<NodeSharedPtr> pNodeList,
72 std::vector<int> pTagList);
Basic information about an element.
NEKMESHUTILS_EXPORT Hexahedron(ElmtConfig pConf, std::vector< NodeSharedPtr > pNodeList, std::vector< int > pTagList)
Create a hexahedral element.
virtual NEKMESHUTILS_EXPORT ~Hexahedron()
static NEKMESHUTILS_EXPORT unsigned int GetNumNodes(ElmtConfig pConf)
Return the number of nodes defining a hexahedron.
static LibUtilities::ShapeType m_type
Element type.
A 3-dimensional six-faced element.
#define NEKMESHUTILS_EXPORT
static NEKMESHUTILS_EXPORT ElementSharedPtr create(ElmtConfig pConf, std::vector< NodeSharedPtr > pNodeList, std::vector< int > pTagList)
Creates an instance of this class.
boost::shared_ptr< Element > ElementSharedPtr
virtual NEKMESHUTILS_EXPORT SpatialDomains::GeometrySharedPtr GetGeom(int coordDim)
Generate a Nektar++ geometry object for this element.
boost::shared_ptr< Geometry > GeometrySharedPtr
Base class for element definitions.