12 #ifndef MFEM_TETRAHEDRON
13 #define MFEM_TETRAHEDRON
15 #include "../config/config.hpp"
49 Tetrahedron(
int ind1,
int ind2,
int ind3,
int ind4,
int attr = 1);
87 { nFaceVertices = 3;
return 4; }
90 { MFEM_ABORT(
"not implemented");
return NULL; }
virtual int GetNFaces(int &nFaceVertices) const
virtual int GetNEdges() const
virtual int GetType() const
Return element's type.
virtual void SetVertices(const int *ind)
Set the vertices according to the given input.
static const int edges[6][2]
virtual Element * Duplicate(Mesh *m) const
void CreateRefinementFlag(int refinement_edges[2], int type, int flag=0)
Data type tetrahedron element.
virtual const int * GetFaceVertices(int fi) const
virtual void MarkEdge(DenseMatrix &pmat)
Mark the longest edge by assuming/changing the order of the vertices.
Linear3DFiniteElement TetrahedronFE
virtual int * GetVertices()
virtual const int * GetEdgeVertices(int ei) const
virtual int NeedRefinement(DSTable &v_to_v, int *middle) const
Return 1 if the element needs refinement in order to get conforming mesh.
virtual int GetNVertices() const
void SetRefinementFlag(int rf)
void ParseRefinementFlag(int refinement_edges[2], int &type, int &flag)
virtual int GetRefinementFlag()
Abstract data type element.