From: Wolfgang Bangerth Date: Thu, 13 Nov 2014 19:12:07 +0000 (-0600) Subject: Ensure we don't call a function that is only declared if we use MPI+p4est. X-Git-Tag: v8.2.0-rc1~63^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d54e33f4e9a68f415606111cb332c231e18f80a;p=dealii.git Ensure we don't call a function that is only declared if we use MPI+p4est. --- diff --git a/source/grid/grid_tools.cc b/source/grid/grid_tools.cc index f47127519e..4d23a60a85 100644 --- a/source/grid/grid_tools.cc +++ b/source/grid/grid_tools.cc @@ -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