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);
84 MFEM_DEPRECATED
virtual int GetNFaces(
int &nFaceVertices)
const 85 { nFaceVertices = 0;
return 0; }
92 { MFEM_ABORT(
"not implemented");
return NULL; }
101 extern MFEM_EXPORT Linear2DFiniteElement
TriangleFE;
virtual int * GetVertices()
virtual int GetNEdges() const
Data type dense matrix using column-major storage.
virtual const int * GetFaceVertices(int fi) const
virtual void MarkEdge(const DSTable &v_to_v, const int *length)
Mark the longest edge by assuming/changing the order of the vertices.
virtual unsigned GetTransform() const
Return current coarse-fine transformation.
virtual int GetNFaces() const
void MarkEdge(DenseMatrix &pmat)
static const int Edges[NumEdges][2]
virtual void ResetTransform(int tr)
Set current coarse-fine transformation number.
Type
Constants for the classes derived from Element.
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 MFEM_DEPRECATED int GetNFaces(int &nFaceVertices) const
int attribute
Element's attribute (specifying material property, etc).
MFEM_EXPORT Linear2DFiniteElement TriangleFE
virtual int GetNFaceVertices(int) const
virtual int NeedRefinement(HashTable< Hashed2 > &v_to_v) const
Return 1 if the element needs refinement in order to get conforming mesh.
virtual Type GetType() const
Return element's type.
virtual void PushTransform(int tr)
Add 'tr' to the current chain of coarse-fine transformations.
virtual int GetNVertices() const
Abstract data type element.
virtual Element * Duplicate(Mesh *m) const
static void GetPointMatrix(unsigned transform, DenseMatrix &pm)
Calculate point matrix corresponding to a chain of transformations.
virtual const int * GetEdgeVertices(int ei) const