22 for (
int i=0; i<4; i++)
40 std::copy(ind, ind + 4,
indices);
52 MFEM_ASSERT(v.
Size() == 4,
"!");
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.
A 2D bi-linear element on a square with nodes at the vertices of the square.
Abstract data type element.
int attribute
Element's attribute (specifying material property, etc).
void SetVertices(const Array< int > &v) override
Set the indices defining the vertices.
int * GetVertices() override
BiLinear2DFiniteElement QuadrilateralFE