Assert (&dof_handler.get_fe() != 0,
ExcMessage ("No finite element collection is associated with "
"this DoFHandler"));
+ Assert (fe_index < dof_handler.get_fe().size(),
+ ExcIndexRange (fe_index, 0, dof_handler.get_fe().size()));
Assert (local_index < dof_handler.get_fe()[fe_index].dofs_per_line,
ExcIndexRange(local_index, 0,
dof_handler.get_fe()[fe_index].dofs_per_line));
Assert (&dof_handler.get_fe() != 0,
ExcMessage ("No finite element collection is associated with "
"this DoFHandler"));
+ Assert (fe_index < dof_handler.get_fe().size(),
+ ExcIndexRange (fe_index, 0, dof_handler.get_fe().size()));
Assert (local_index < dof_handler.get_fe()[fe_index].dofs_per_line,
ExcIndexRange(local_index, 0,
dof_handler.get_fe()[fe_index].dofs_per_line));
Assert (fe_index != ::hp::DoFHandler<dim>::default_fe_index,
ExcMessage ("You need to specify a FE index when working "
"with hp DoFHandlers"));
+ Assert (fe_index < dof_handler.get_fe().size(),
+ ExcIndexRange (fe_index, 0, dof_handler.get_fe().size()));
// make sure we are on an
// object for which DoFs have
Assert (&dof_handler.get_fe() != 0,
ExcMessage ("No finite element collection is associated with "
"this DoFHandler"));
+ Assert (fe_index < dof_handler.get_fe().size(),
+ ExcIndexRange (fe_index, 0, dof_handler.get_fe().size()));
Assert (local_index < dof_handler.get_fe()[fe_index].dofs_per_quad,
ExcIndexRange(local_index, 0,
dof_handler.get_fe()[fe_index].dofs_per_quad));
Assert (&dof_handler.get_fe() != 0,
ExcMessage ("No finite element collection is associated with "
"this DoFHandler"));
+ Assert (fe_index < dof_handler.get_fe().size(),
+ ExcIndexRange (fe_index, 0, dof_handler.get_fe().size()));
Assert (local_index < dof_handler.get_fe()[fe_index].dofs_per_quad,
ExcIndexRange(local_index, 0,
dof_handler.get_fe()[fe_index].dofs_per_quad));
Assert (fe_index != ::hp::DoFHandler<dim>::default_fe_index,
ExcMessage ("You need to specify a FE index when working "
"with hp DoFHandlers"));
+ Assert (fe_index < dof_handler.get_fe().size(),
+ ExcIndexRange (fe_index, 0, dof_handler.get_fe().size()));
// make sure we are on an
// object for which DoFs have
Assert (&dof_handler.get_fe() != 0,
ExcMessage ("No finite element collection is associated with "
"this DoFHandler"));
+ Assert (fe_index < dof_handler.get_fe().size(),
+ ExcIndexRange (fe_index, 0, dof_handler.get_fe().size()));
Assert (local_index < dof_handler.get_fe()[fe_index].dofs_per_hex,
ExcIndexRange(local_index, 0,
dof_handler.get_fe()[fe_index].dofs_per_hex));
Assert (&dof_handler.get_fe() != 0,
ExcMessage ("No finite element collection is associated with "
"this DoFHandler"));
+ Assert (fe_index < dof_handler.get_fe().size(),
+ ExcIndexRange (fe_index, 0, dof_handler.get_fe().size()));
Assert (local_index < dof_handler.get_fe()[fe_index].dofs_per_hex,
ExcIndexRange(local_index, 0,
dof_handler.get_fe()[fe_index].dofs_per_hex));
Assert (fe_index != ::hp::DoFHandler<dim>::default_fe_index,
ExcMessage ("You need to specify a FE index when working "
"with hp DoFHandlers"));
+ Assert (fe_index < dof_handler.get_fe().size(),
+ ExcIndexRange (fe_index, 0, dof_handler.get_fe().size()));
// make sure we are on an
// object for which DoFs have