36 Triangle(
const int *ind,
int attr = 1);
39 Triangle(
int ind1,
int ind2,
int ind3,
int attr = 1);
89 MFEM_DEPRECATED
int GetNFaces(
int &nFaceVertices)
const override
90 { nFaceVertices = 0;
return 0; }
97 { MFEM_ABORT(
"not implemented");
return NULL; }
Data type dense matrix using column-major storage.
Abstract data type element.
int attribute
Element's attribute (specifying material property, etc).
Type
Constants for the classes derived from Element.
A 2D linear element on triangle with nodes at the vertices of the triangle.
Data type triangle element.
void MarkEdge(DenseMatrix &pmat)
int GetNEdges() const override
void SetVertices(const Array< int > &v) override
Set the indices defining the vertices.
const int * GetFaceVertices(int fi) const override
int GetNFaceVertices(int) const override
const int * GetEdgeVertices(int ei) const override
int NeedRefinement(HashTable< Hashed2 > &v_to_v) const override
Return 1 if the element needs refinement in order to get conforming mesh.
Geometry::Constants< Geometry::TRIANGLE > geom_t
static void GetPointMatrix(unsigned transform, DenseMatrix &pm)
Calculate point matrix corresponding to a chain of transformations.
void MarkEdge(const DSTable &v_to_v, const int *length) override
Mark the longest edge by assuming/changing the order of the vertices.
void PushTransform(int tr) override
Add 'tr' to the current chain of coarse-fine transformations.
void ResetTransform(int tr) override
Set current coarse-fine transformation number.
unsigned GetTransform() const override
Return current coarse-fine transformation.
int GetNFaces() const override
virtual ~Triangle()=default
MFEM_DEPRECATED int GetNFaces(int &nFaceVertices) const override
int * GetVertices() override
Type GetType() const override
Return element's type.
int GetNVertices() const override
Element * Duplicate(Mesh *m) const override
MFEM_EXPORT Linear2DFiniteElement TriangleFE
static const int Edges[NumEdges][2]