From: Daniel Arndt Date: Sun, 8 Jul 2018 09:15:16 +0000 (+0200) Subject: Improve error messages X-Git-Tag: v9.1.0-rc1~916^2~5 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a39d7965e573e8d14f3a22b74d01823ecd1031bd;p=dealii.git Improve error messages --- diff --git a/source/grid/grid_generator.cc b/source/grid/grid_generator.cc index 3a55b2cf04..f994bf8ecd 100644 --- a/source/grid/grid_generator.cc +++ b/source/grid/grid_generator.cc @@ -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> vertices = triangulation_1.get_vertices(); diff --git a/source/grid/tria.cc b/source/grid/tria.cc index 90a1bf268f..182ea86718 100644 --- a/source/grid/tria.cc +++ b/source/grid/tria.cc @@ -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 "