]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Generate some more enlightening output.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 21 Sep 2006 23:08:08 +0000 (23:08 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 21 Sep 2006 23:08:08 +0000 (23:08 +0000)
git-svn-id: https://svn.dealii.org/trunk@13944 0785d39b-7218-0410-832d-ea1e28bc413d

tests/hp/crash_10.cc

index 6ecd9016cee41f6467fd904ada24d9ee8de50517..834064c9bd79c82728ffbbf6ce3089e550aa3f52 100644 (file)
@@ -69,6 +69,22 @@ void test ()
     cell->set_active_fe_index (random() % fe.size());
   
   dof_handler.distribute_dofs (fe);
+
+  cell = dof_handler.begin_active ();
+  for (; cell != endc; ++cell)
+    for (unsigned int f=0; f<GeometryInfo<dim>::faces_per_cell; ++f)
+      {
+       deallog << "cell=" << cell << ", face=" << f
+               << ", fe_index=" << cell->active_fe_index()
+               << ", dofs=";
+       std::vector<unsigned int> dofs (fe[cell->active_fe_index()].dofs_per_face);
+       cell->face(f)->get_dof_indices (dofs,
+                                       cell->active_fe_index());
+       for (unsigned int i=0; i<dofs.size(); ++i)
+         deallog << dofs[i] << ' ';
+       deallog << std::endl;
+      }
+  
   DoFTools::make_hanging_node_constraints (dof_handler,
                                           hanging_node_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.