]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Ensure we don't call a function that is only declared if we use MPI+p4est. 249/head
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 13 Nov 2014 19:12:07 +0000 (13:12 -0600)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 13 Nov 2014 19:12:07 +0000 (13:12 -0600)
source/grid/grid_tools.cc

index f47127519ec80b5fd5bc2e978ad66909a9df9cb5..4d23a60a85599fb943608f91e238c815ae025025 100644 (file)
@@ -753,8 +753,12 @@ namespace GridTools
                 }
             }
 
+#if DEAL_II_USE_P4EST
         distributed_triangulation
         ->communicate_locally_moved_vertices(locally_owned_vertices);
+#else
+        Assert (false, ExcInternalError());
+#endif
       }
     else
       // if this is a sequential triangulation, we could in principle

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.