]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Ensure compilation without p4est.
authorkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 4 Jan 2013 08:11:46 +0000 (08:11 +0000)
committerkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 4 Jan 2013 08:11:46 +0000 (08:11 +0000)
git-svn-id: https://svn.dealii.org/trunk@27917 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/multigrid/mg_transfer.templates.h

index 9fac66fbf53f2987dccab03770dcf7a56140dae0..12406277caaa8e9f44cbcf071b772d6e62ce6609 100644 (file)
@@ -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
 }

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.