From 4d54e33f4e9a68f415606111cb332c231e18f80a Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 13 Nov 2014 13:12:07 -0600 Subject: [PATCH] Ensure we don't call a function that is only declared if we use MPI+p4est. --- source/grid/grid_tools.cc | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.39.5