From: bangerth Date: Thu, 7 Jul 2011 11:02:40 +0000 (+0000) Subject: Make compile also with MPI enabled. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c64ab0e36202866e798746ffa311744ec7534d3;p=dealii-svn.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())))