]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Improve error messages
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Sun, 8 Jul 2018 09:15:16 +0000 (11:15 +0200)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Wed, 11 Jul 2018 08:38:11 +0000 (10:38 +0200)
source/grid/grid_generator.cc
source/grid/tria.cc

index 3a55b2cf04894bc9381993ac7e31bb19e80c86d1..f994bf8ecd8d99d8d4cecaafdc04761fce98d5d8 100644 (file)
@@ -3797,9 +3797,11 @@ namespace GridGenerator
                        const bool   copy_manifold_ids)
   {
     Assert(triangulation_1.n_levels() == 1,
-           ExcMessage("The input triangulations must be coarse meshes."));
+           ExcMessage("The input triangulations must be non-empty "
+                      "and must not be refined."));
     Assert(triangulation_2.n_levels() == 1,
-           ExcMessage("The input triangulations must be coarse meshes."));
+           ExcMessage("The input triangulations must be non-empty "
+                      "and must not be refined."));
 
     // get the union of the set of vertices
     std::vector<Point<spacedim>> vertices = triangulation_1.get_vertices();
index 90a1bf268f5c6f67f9f494f7a4e89f349233dcad..182ea867185cbab37592a98c935e8fb1ab007907 100644 (file)
@@ -2104,7 +2104,7 @@ namespace internal
                 AssertThrow(
                   (n_adj_cells >= 1) && (n_adj_cells <= 2),
                   ExcMessage("You have a line in your triangulation at which "
-                             "more than two cells come together. "
+                             "more than two cells come together."
                              "\n\n"
                              "This is not currently supported because the "
                              "Triangulation class makes the assumption that "

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.