15 #include "../config/config.hpp"
16 #include "../fem/fe.hpp"
36 Triangle(
const int *ind,
int attr = 1);
39 Triangle(
int ind1,
int ind2,
int ind3,
int attr = 1);
81 { nFaceVertices = 0;
return 0; }
84 { MFEM_ABORT(
"not implemented");
return NULL; }
virtual int * GetVertices()
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 GetNFaces(int &nFaceVertices) const
virtual int GetNVertices() const
Data type dense matrix using column-major storage.
virtual const int * GetEdgeVertices(int ei) const
virtual void MarkEdge(DenseMatrix &pmat)
static const int Edges[NumEdges][2]
virtual void ResetTransform(int tr)
Set current coarse-fine transformation number.
Data type triangle element.
virtual void SetVertices(const int *ind)
Set the vertices according to the given input.
Geometry::Constants< Geometry::TRIANGLE > geom_t
virtual unsigned GetTransform() const
Return current coarse-fine transformation.
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.
virtual void PushTransform(int tr)
Add 'tr' to the current chain of coarse-fine transformations.
Abstract data type element.
static void GetPointMatrix(unsigned transform, DenseMatrix &pm)
Calculate point matrix corresponding to a chain of transformations.