]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Make compile also with MPI enabled.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 7 Jul 2011 11:02:40 +0000 (11:02 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 7 Jul 2011 11:02:40 +0000 (11:02 +0000)
git-svn-id: https://svn.dealii.org/trunk@23926 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/dofs/dof_tools.cc

index 335931698db4a8a45a340298de9a9a45a920ea8f..29005dbed40c340b493ee71a1753926ff939772f 100644 (file)
@@ -4649,6 +4649,9 @@ namespace DoFTools
                                     // reduce information from all CPUs
 #ifdef DEAL_II_USE_P4EST
 #ifdef DEAL_II_COMPILER_SUPPORTS_MPI
+    const unsigned int dim = DH::dimension;
+    const unsigned int spacedim = DH::space_dimension;
+    
     if (const parallel::distributed::Triangulation<dim,spacedim> * tria
        = (dynamic_cast<const parallel::distributed::Triangulation<dim,spacedim>*>
           (&dof_handler.get_tria())))

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.