21 for (
int i=0; i<2; i++)
48 MFEM_ASSERT(v.
Size() == 2,
"!");
void SetSize(int nsize)
Change the logical size of the array, keep existing entries.
int Size() const
Return the logical size of the array.
T * end()
STL-like end. Returns pointer after the last element of the array.
T * begin()
STL-like begin. Returns pointer to the first element of the array.
Abstract data type element.
int attribute
Element's attribute (specifying material property, etc).
A 1D linear element with nodes on the endpoints.
void SetVertices(const Array< int > &v) override
Set the indices defining the vertices.
int * GetVertices() override
Linear1DFiniteElement SegmentFE