From: Wolfgang Bangerth Date: Wed, 1 Apr 2015 12:42:10 +0000 (-0500) Subject: Fix wording in error messages. X-Git-Tag: v8.3.0-rc1~331^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F723%2Fhead;p=dealii.git Fix wording in error messages. --- diff --git a/source/grid/grid_generator.cc b/source/grid/grid_generator.cc index 7ba317ba68..093feed06a 100644 --- a/source/grid/grid_generator.cc +++ b/source/grid/grid_generator.cc @@ -3496,10 +3496,14 @@ namespace GridGenerator Triangulation<3,3> &result) { Assert (input.n_levels() == 1, - ExcMessage ("The input triangulations must be coarse meshes.")); - Assert(result.n_cells()==0, ExcMessage("resultin Triangulation need to be empty upon calling extrude_triangulation.")); - Assert(height>0, ExcMessage("The height in extrude_triangulation needs to be positive.")); - Assert(n_slices>=2, ExcMessage("The number of slices in extrude_triangulation needs to be at least 2.")); + ExcMessage ("The input triangulation must be a coarse mesh, i.e., it must " + "not have been refined.")); + Assert(result.n_cells()==0, + ExcMessage("The output triangulation object needs to be empty.")); + Assert(height>0, + ExcMessage("The given height for extrusion must be positive.")); + Assert(n_slices>=2, + ExcMessage("The number of slices for extrusion must be at least 2.")); std::vector > points(n_slices*input.n_vertices()); std::vector > cells;