/**
* Exception
*/
- DeclException0 (ExcHangingNodesNotAllowed);
+ DeclException1 (ExcHangingNodesNotAllowed,
+ int,
+ << "You are using continuous elements on a grid with hanging "
+ << "nodes without providing hanging node constraints. Use this"
+ << "function with additional ConstraintMatrix argument, instead.");
/**
* Exception
for (unsigned int face=0; face<GeometryInfo<dim>::faces_per_cell; ++face)
Assert (cell1->at_boundary(face) ||
cell1->neighbor(face)->level() == cell1->level(),
- ExcHangingNodesNotAllowed());
+ ExcHangingNodesNotAllowed(0));
cell1->get_dof_values(u1, u1_local);
interpolation_matrix.vmult(u2_local, u1_local);
for (unsigned int face=0; face<GeometryInfo<dim>::faces_per_cell; ++face)
Assert (cell->at_boundary(face) ||
cell->neighbor(face)->level() == cell->level(),
- ExcHangingNodesNotAllowed());
+ ExcHangingNodesNotAllowed(0));
cell->get_dof_values(u1, u1_local);
interpolation_matrix.vmult(u1_int_local, u1_local);
for (unsigned int face=0; face<GeometryInfo<dim>::faces_per_cell; ++face)
Assert (cell->at_boundary(face) ||
cell->neighbor(face)->level() == cell->level(),
- ExcHangingNodesNotAllowed());
+ ExcHangingNodesNotAllowed(0));
cell->get_dof_values(u1, u1_local);
difference_matrix.vmult(u1_diff_local, u1_local);