]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix wording in error messages. 723/head
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 1 Apr 2015 12:42:10 +0000 (07:42 -0500)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 1 Apr 2015 22:33:29 +0000 (17:33 -0500)
source/grid/grid_generator.cc

index 7ba317ba68bf4ad10fe8ca54d27b9ae4398c6973..093feed06adb8900532d68e9c04ee04eb1ec2572 100644 (file)
@@ -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<Point<3> > points(n_slices*input.n_vertices());
     std::vector<CellData<3> > cells;

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.