From 5f1cde8513e67e93b775a841c79b32bb74fd5c81 Mon Sep 17 00:00:00 2001 From: heister Date: Mon, 8 Apr 2013 20:55:46 +0000 Subject: [PATCH] step-42: print correct cell number git-svn-id: https://svn.dealii.org/trunk@29223 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-42/step-42.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/deal.II/examples/step-42/step-42.cc b/deal.II/examples/step-42/step-42.cc index 04ed87a84f..c85e1d08d7 100644 --- a/deal.II/examples/step-42/step-42.cc +++ b/deal.II/examples/step-42/step-42.cc @@ -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 () -- 2.39.5