]> 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 17:02:06 +0000 (17:02 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 23 Oct 2010 17:02:06 +0000 (17:02 +0000)
git-svn-id: https://svn.dealii.org/trunk@22438 0785d39b-7218-0410-832d-ea1e28bc413d

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

index bd81453aab8959144bb63d82d65ac03c8743e8f9..e85470a3bae5115d8b3cf31fddcaab58759e7175 100644 (file)
@@ -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<dim> * tria
       = (dynamic_cast<const parallel::distributed::Triangulation<dim>*>
@@ -4786,6 +4787,7 @@ DoFTools::count_dofs_per_component (
                      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.