]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add a bit of output to understand the case.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 3 Sep 2006 23:54:03 +0000 (23:54 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 3 Sep 2006 23:54:03 +0000 (23:54 +0000)
git-svn-id: https://svn.dealii.org/trunk@13828 0785d39b-7218-0410-832d-ea1e28bc413d

tests/hp/crash_07.cc

index 3f8c3953a3a6e55d243497eb44f94dbf159826d4..309b13dd9c2e2e8337851bed928b71d36595264e 100644 (file)
@@ -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<unsigned int> local_dofs (fe[cell->active_fe_index()].dofs_per_cell);
+      cell->get_dof_indices (local_dofs);
+      for (unsigned int i=0; i<fe[cell->active_fe_index()].dofs_per_cell; ++i)
+       deallog << local_dofs[i] << ' ';
+      deallog << std::endl;
+    }
+
+  
   ConstraintMatrix constraints;
   DoFTools::make_hanging_node_constraints (dof_handler,
                                           constraints);

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.