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