From: Wolfgang Bangerth Date: Thu, 7 Jul 2011 11:02:40 +0000 (+0000) Subject: Make compile also with MPI enabled. X-Git-Tag: v8.0.0~3839 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0fa507d9edf66af38a9c70a3abeac0fe5c4bfebf;p=dealii.git Make compile also with MPI enabled. git-svn-id: https://svn.dealii.org/trunk@23926 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/dofs/dof_tools.cc b/deal.II/source/dofs/dof_tools.cc index 335931698d..29005dbed4 100644 --- a/deal.II/source/dofs/dof_tools.cc +++ b/deal.II/source/dofs/dof_tools.cc @@ -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 * tria = (dynamic_cast*> (&dof_handler.get_tria())))