15 #include "../config/config.hpp"
16 #include "../fem/fe.hpp"
34 Triangle(
const int *ind,
int attr = 1);
37 Triangle(
int ind1,
int ind2,
int ind3,
int attr = 1);
68 { nFaceVertices = 0;
return 0; }
71 { 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
Data type dense matrix using column-major storage.
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.