From e1961dcd76b3193c56079e180fd010bd32f02575 Mon Sep 17 00:00:00 2001 From: bangerth Date: Sun, 3 Sep 2006 23:54:03 +0000 Subject: [PATCH] Add a bit of output to understand the case. git-svn-id: https://svn.dealii.org/trunk@13828 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/hp/crash_07.cc | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/tests/hp/crash_07.cc b/tests/hp/crash_07.cc index 3f8c3953a3..309b13dd9c 100644 --- a/tests/hp/crash_07.cc +++ b/tests/hp/crash_07.cc @@ -106,6 +106,27 @@ int main () deallog << "n_dofs=" << dof_handler.n_dofs() << std::endl; + for (hp::DoFHandler<2>::active_cell_iterator + cell = dof_handler.begin_active(); + cell != dof_handler.end(); ++cell) + { + deallog << "Cell=" << cell << std::endl; + deallog << " vertices=" + << cell->vertex_index(0) << ' ' + << cell->vertex_index(1) << ' ' + << cell->vertex_index(2) << ' ' + << cell->vertex_index(3) << std::endl; + deallog << " active_fe_index=" << cell->active_fe_index() << std::endl; + + deallog << " dofs="; + std::vector local_dofs (fe[cell->active_fe_index()].dofs_per_cell); + cell->get_dof_indices (local_dofs); + for (unsigned int i=0; iactive_fe_index()].dofs_per_cell; ++i) + deallog << local_dofs[i] << ' '; + deallog << std::endl; + } + + ConstraintMatrix constraints; DoFTools::make_hanging_node_constraints (dof_handler, constraints); -- 2.39.5