]> https://gitweb.dealii.org/ - dealii.git/commitdiff
GridTools::exchange_cell_data -- extend assert message 16236/head
authorMagdalena Schreter <magdalena.schreter@tum.de>
Thu, 2 Nov 2023 19:57:47 +0000 (20:57 +0100)
committerMagdalena Schreter <magdalena.schreter@tum.de>
Thu, 2 Nov 2023 19:58:16 +0000 (20:58 +0100)
include/deal.II/grid/grid_tools.h

index 8f8eb1c09c5d1f013743f4d599130db8e542c1bd..80e6c4104e9d02fce9c176c4ac42f129b68bfe44 100644 (file)
@@ -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

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.