From: Magdalena Schreter Date: Thu, 2 Nov 2023 19:57:47 +0000 (+0100) Subject: GridTools::exchange_cell_data -- extend assert message X-Git-Tag: relicensing~320^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd0add5de16a20b94804013e5f4390575270b851;p=dealii.git GridTools::exchange_cell_data -- extend assert message --- 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