22 for (
int i = 0; i < 8; i++)
29 int ind5,
int ind6,
int ind7,
int ind8,
51 MFEM_ASSERT(v.
Size() == 8,
"!");
57 std::copy(ind, ind + 8,
indices);
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).
void SetVertices(const Array< int > &v) override
Set the indices defining the vertices.
int * GetVertices() override
A 3D tri-linear element on a cube with nodes at the vertices of the cube.
TriLinear3DFiniteElement HexahedronFE