]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
step-42: print correct cell number
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 8 Apr 2013 20:55:46 +0000 (20:55 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 8 Apr 2013 20:55:46 +0000 (20:55 +0000)
git-svn-id: https://svn.dealii.org/trunk@29223 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-42/step-42.cc

index 04ed87a84ff5045f313c0dcdd53dc789e5a8b134..c85e1d08d7e5d312bf1e25ee8e6c66dc4af7c1f3 100644 (file)
@@ -718,10 +718,7 @@ namespace Step42
       constraints_hanging_nodes.close ();
 
       pcout << "   Number of active cells: "
-            << triangulation.n_active_cells()
-            << std::endl
-            << "   Total number of cells: "
-            << triangulation.n_cells()
+            << triangulation.n_global_active_cells()
             << std::endl
             << "   Number of degrees of freedom: "
             << dof_handler.n_dofs ()

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.