; // do nothing
else if (object_type == ReferenceCells::Line)
{
- if (spacedim == 1)
+ if (dim == 1)
{
cells.emplace_back();
cells.back().vertices = vertices_for_this_element;
else if ((object_type == ReferenceCells::Triangle) ||
(object_type == ReferenceCells::Quadrilateral))
{
- if (spacedim == 2)
+ if (dim == 2)
{
cells.emplace_back();
cells.back().vertices = vertices_for_this_element;
else if ((object_type == ReferenceCells::Tetrahedron) ||
(object_type == ReferenceCells::Wedge))
{
- if (spacedim == 3)
+ if (dim == 3)
{
cells.emplace_back();
cells.back().vertices = vertices_for_this_element;
; // do nothing
else if (object_type == ReferenceCells::Line)
{
- if (spacedim == 1)
+ if (dim == 1)
cells[cells.size() - n_elements + e].material_id =
geometric_entity_index;
else
else if ((object_type == ReferenceCells::Triangle) ||
(object_type == ReferenceCells::Quadrilateral))
{
- if (spacedim == 2)
+ if (dim == 2)
cells[cells.size() - n_elements + e].material_id =
geometric_entity_index;
else
else if ((object_type == ReferenceCells::Tetrahedron) ||
(object_type == ReferenceCells::Wedge))
{
- if (spacedim == 3)
+ if (dim == 3)
cells[cells.size() - n_elements + e].material_id =
geometric_entity_index;
else