From cd0add5de16a20b94804013e5f4390575270b851 Mon Sep 17 00:00:00 2001 From: Magdalena Schreter Date: Thu, 2 Nov 2023 20:57:47 +0100 Subject: [PATCH] GridTools::exchange_cell_data -- extend assert message --- include/deal.II/grid/grid_tools.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/deal.II/grid/grid_tools.h b/include/deal.II/grid/grid_tools.h index 8f8eb1c09c..80e6c4104e 100644 --- a/include/deal.II/grid/grid_tools.h +++ b/include/deal.II/grid/grid_tools.h @@ -3382,7 +3382,12 @@ namespace GridTools "operate on a single layer of ghost cells. However, you have " "given a Triangulation object of type " "parallel::shared::Triangulation without artificial cells " - "resulting in arbitrary numbers of ghost layers.")); + "resulting in an arbitrary number of ghost layers. " + "To use this function for a Triangulation object of type " + "parallel::shared::Triangulation, make sure to create the " + "Triangulation object with allow_artificial_cells set to true. " + "This results in a parallel::shared::Triangulation with only " + "a single layer of ghost cells.")); } // build list of cells to request for each neighbor -- 2.39.5