From bccc09cf2b22d7fdbb06b44a0a0af4425b80a8c0 Mon Sep 17 00:00:00 2001 From: kronbichler Date: Fri, 4 Jan 2013 08:11:46 +0000 Subject: [PATCH] Ensure compilation without p4est. git-svn-id: https://svn.dealii.org/trunk@27917 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/include/deal.II/multigrid/mg_transfer.templates.h | 2 ++ 1 file changed, 2 insertions(+) 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 } -- 2.39.5