]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
fix when not using distributed meshes.
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 23 Oct 2010 16:58:39 +0000 (16:58 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 23 Oct 2010 16:58:39 +0000 (16:58 +0000)
git-svn-id: https://svn.dealii.org/trunk@22437 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/dofs/dof_tools.cc

index c6fe150a67156a09f8d908e66f54ae54dfa06248..bd81453aab8959144bb63d82d65ac03c8743e8f9 100644 (file)
@@ -4847,6 +4847,7 @@ count_dofs_per_block (const DoFHandler<dim,spacedim>& 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<dim,spacedim>& dof_handler,
                      MPI_INT, MPI_SUM, tria->get_communicator());
     }
 #endif
+#endif
 }
 
 

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.