15 #include "../config/config.hpp"
33 Triangle(
const int *ind,
int attr = 1);
36 Triangle(
int ind1,
int ind2,
int ind3,
int attr = 1);
67 { nFaceVertices = 0;
return 0; }
70 { MFEM_ABORT(
"not implemented");
return NULL; }
virtual int * GetVertices()
int NeedRefinement(DSTable &v_to_v, int *middle) const
Return 1 if the element needs refinement in order to get conforming mesh.
virtual int GetNFaces(int &nFaceVertices) const
virtual int GetNVertices() const
virtual const int * GetEdgeVertices(int ei) const
static const int edges[3][2]
virtual void MarkEdge(DenseMatrix &pmat)
Data type triangle element.
virtual void SetVertices(const int *ind)
Set the vertices according to the given input.
virtual const int * GetFaceVertices(int fi) const
virtual Element * Duplicate(Mesh *m) const
int attribute
Element's attribute (specifying material property, etc).
Linear2DFiniteElement TriangleFE
virtual int GetNEdges() const
virtual int GetType() const
Return element's type.
Abstract data type element.