82 MFEM_DEPRECATED
virtual int GetNFaces(
int &nFaceVertices)
const = 0;
Abstract data type element.
int attribute
Element's attribute (specifying material property, etc).
virtual MFEM_DEPRECATED int GetNFaces(int &nFaceVertices) const =0
virtual unsigned GetTransform() const
Return current coarse-fine transformation.
Geometry::Type base_geom
Element's type from the Finite Element's perspective.
virtual void ResetTransform(int tr)
Set current coarse-fine transformation number.
virtual const int * GetFaceVertices(int fi) const =0
Geometry::Type GetGeometryType() const
Element(Geometry::Type bg=Geometry::POINT)
Default element constructor.
virtual Element * Duplicate(Mesh *m) const =0
virtual int * GetVertices()=0
virtual void GetVertices(Array< int > &v) const =0
Get the indices defining the vertices.
virtual void PushTransform(int tr)
Add 'tr' to the current chain of coarse-fine transformations.
virtual int GetNFaceVertices(int fi) const =0
const int * GetVertices() const
void SetAttribute(const int attr)
Set element's attribute.
virtual int NeedRefinement(HashTable< Hashed2 > &v_to_v) const
Return 1 if the element needs refinement in order to get conforming mesh.
virtual int GetNFaces() const =0
virtual Type GetType() const =0
Returns element's type.
Type
Constants for the classes derived from Element.
virtual int GetNEdges() const =0
virtual const int * GetEdgeVertices(int) const =0
int GetAttribute() const
Return element's attribute.
virtual ~Element()
Destroys element.
virtual void MarkEdge(const DSTable &v_to_v, const int *length)
Mark the longest edge by assuming/changing the order of the vertices.
virtual int GetNVertices() const =0
virtual void SetVertices(const Array< int > &v)=0
Set the indices defining the vertices.