33 Segment(
const int *ind,
int attr = 1);
36 Segment(
int ind1,
int ind2,
int attr = 1);
60 MFEM_DEPRECATED
int GetNFaces(
int &nFaceVertices)
const override
61 { nFaceVertices = 0;
return 0; }
Abstract data type element.
int attribute
Element's attribute (specifying material property, etc).
Type
Constants for the classes derived from Element.
A 1D linear element with nodes on the endpoints.
Data type line segment element.
virtual ~Segment()=default
int GetNVertices() const override
Geometry::Constants< Geometry::SEGMENT > geom_t
Element * Duplicate(Mesh *m) const override
MFEM_DEPRECATED int GetNFaces(int &nFaceVertices) const override
int GetNFaceVertices(int) const override
const int * GetEdgeVertices(int ei) const override
const int * GetFaceVertices(int fi) const override
void SetVertices(const Array< int > &v) override
Set the indices defining the vertices.
int * GetVertices() override
Type GetType() const override
Return element's type.
int GetNEdges() const override
int GetNFaces() const override
Linear1DFiniteElement SegmentFE