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; }
virtual int * GetVertices()
virtual int GetNVertices() const
Data type dense matrix using column-major storage.
virtual const int * GetEdgeVertices(int ei) const
virtual MFEM_DEPRECATED int GetNFaces(int &nFaceVertices) const
virtual void MarkEdge(const DSTable &v_to_v, const int *length)
Mark the longest edge by assuming/changing the order of the vertices.
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 unsigned GetTransform() const
Return current coarse-fine transformation.
virtual const int * GetFaceVertices(int fi) const
virtual int GetNFaceVertices(int) const
virtual Element * Duplicate(Mesh *m) const
int attribute
Element's attribute (specifying material property, etc).
Linear2DFiniteElement TriangleFE
virtual Type GetType() const
Return element's type.
virtual int GetNEdges() const
virtual int GetNFaces() const
virtual void PushTransform(int tr)
Add 'tr' to the current chain of coarse-fine transformations.
virtual int NeedRefinement(HashTable< Hashed2 > &v_to_v) const
Return 1 if the element needs refinement in order to get conforming mesh.
Abstract data type element.
static void GetPointMatrix(unsigned transform, DenseMatrix &pm)
Calculate point matrix corresponding to a chain of transformations.