From: heister Date: Sat, 23 Oct 2010 16:58:39 +0000 (+0000) Subject: fix when not using distributed meshes. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=384dbacda374bdec378c821c9123fbf84e632f7e;p=dealii-svn.git fix when not using distributed meshes. git-svn-id: https://svn.dealii.org/trunk@22437 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 c6fe150a67..bd81453aab 100644 --- a/deal.II/deal.II/source/dofs/dof_tools.cc +++ b/deal.II/deal.II/source/dofs/dof_tools.cc @@ -4847,6 +4847,7 @@ count_dofs_per_block (const DoFHandler& dof_handler, += std::count(dofs_by_block.begin(), dofs_by_block.end(), block); +#ifdef DEAL_II_USE_P4EST #if DEAL_II_COMPILER_SUPPORTS_MPI // if we are working on a parallel // mesh, we now need to collect @@ -4861,6 +4862,7 @@ count_dofs_per_block (const DoFHandler& dof_handler, MPI_INT, MPI_SUM, tria->get_communicator()); } #endif +#endif }