From: heister Date: Sat, 23 Oct 2010 17:02:06 +0000 (+0000) Subject: fix when not using distributed meshes. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c1bbc6b95d6c99c39eb1ac3394067af44ee05822;p=dealii-svn.git fix when not using distributed meshes. git-svn-id: https://svn.dealii.org/trunk@22438 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/dofs/dof_tools.cc b/deal.II/deal.II/source/dofs/dof_tools.cc index bd81453aab..e85470a3ba 100644 --- a/deal.II/deal.II/source/dofs/dof_tools.cc +++ b/deal.II/deal.II/source/dofs/dof_tools.cc @@ -4775,6 +4775,7 @@ DoFTools::count_dofs_per_component ( ExcInternalError()); // reduce information from all CPUs +#ifdef DEAL_II_USE_P4EST #ifdef DEAL_II_COMPILER_SUPPORTS_MPI if (const parallel::distributed::Triangulation * tria = (dynamic_cast*> @@ -4786,6 +4787,7 @@ DoFTools::count_dofs_per_component ( MPI_INT, MPI_SUM, tria->get_communicator()); } #endif +#endif }