cell->neighbor_of_neighbor(face_index),
numbers::invalid_unsigned_int);
}
- catch (ExceptionBase &exc)
+ catch (ExceptionBase & /*exc*/)
{
- deallog << exc.what() << std::endl;
+ deallog << "reinit() failed correctly." << std::endl;
}
deallog << "OK" << std::endl;
-DEAL::
---------------------------------------------------------
-An error occurred in file <fe_interface_values.h> in function
- void dealii::FEInterfaceValues<dim, spacedim>::reinit(const CellIteratorType&, unsigned int, unsigned int, const CellNeighborIteratorType&, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) [with CellIteratorType = dealii::TriaIterator<dealii::DoFCellAccessor<2, 2, false> >; CellNeighborIteratorType = dealii::TriaIterator<dealii::DoFCellAccessor<2, 2, false> >; int dim = 2; int spacedim = 2]
-The violated condition was:
- dominated_fe_index != numbers::invalid_fe_index
-Additional information:
- You called this function with 'q_index' left at its default value, but
- this can only work if one of the two finite elements adjacent to this
- face dominates the other. See the documentation of this function for
- more information of how to deal with this situation.
---------------------------------------------------------
-
+DEAL::reinit() failed correctly.
DEAL::OK
}
catch (ExceptionBase &e)
{
- deallog << e.what() << std::endl;
+ deallog << "Successfully failed to distribute DoFs with a single "
+ << "nonzero active FE index" << std::endl;
}
}
-DEAL::
---------------------------------------------------------
-An error occurred in file <dof_handler.cc> in function
- void dealii::DoFHandler<dim, spacedim>::distribute_dofs(const dealii::hp::FECollection<dim, spacedim>&) [with int dim = 2; int spacedim = 2]
-The violated condition was:
- cell->active_fe_index() < ff.size()
-Additional information:
- The mesh contains a cell with an active FE index of 1, but the finite
- element collection only has 1 elements
---------------------------------------------------------
-
+DEAL::Successfully failed to distribute DoFs with a single nonzero active FE index
DEAL::OK