From: kronbichler Date: Fri, 4 Jan 2013 08:11:46 +0000 (+0000) Subject: Ensure compilation without p4est. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bccc09cf2b22d7fdbb06b44a0a0af4425b80a8c0;p=dealii-svn.git Ensure compilation without p4est. git-svn-id: https://svn.dealii.org/trunk@27917 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/include/deal.II/multigrid/mg_transfer.templates.h b/deal.II/include/deal.II/multigrid/mg_transfer.templates.h index 9fac66fbf5..12406277ca 100644 --- a/deal.II/include/deal.II/multigrid/mg_transfer.templates.h +++ b/deal.II/include/deal.II/multigrid/mg_transfer.templates.h @@ -121,11 +121,13 @@ namespace (&mg_dof.get_tria())); AssertThrow(tria!=NULL, ExcMessage("multigrid with Trilinos vectors only works with distributed Triangulation!")); +#ifdef DEAL_II_USE_P4EST for (unsigned int level=v.get_minlevel(); level<=v.get_maxlevel(); ++level) { v[level].reinit(mg_dof.locally_owned_mg_dofs(level), tria->get_communicator()); } +#endif } #endif }