]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix documentation of extend + spelling.
authorLuca Heltai <luca.heltai@sissa.it>
Tue, 23 Apr 2019 09:22:12 +0000 (11:22 +0200)
committerLuca Heltai <luca.heltai@sissa.it>
Tue, 23 Apr 2019 09:22:12 +0000 (11:22 +0200)
include/deal.II/base/bounding_box.h

index 97acdb873d786ea516b3fd0dff424b99b5030ae8..bfb85c5e79ee2dbc5d58c5aa22187436c02ed2f3 100644 (file)
@@ -141,7 +141,8 @@ public:
   point_inside(const Point<spacedim, Number> &p) const;
 
   /**
-   * Increase (or decrease) the size of the bounding box by the given amount.
+   * Increase (or decrease) the size of the bounding box by the given amount,
+   * in both directions in all coordinate directions.
    *
    * If you call this method with a negative number, and one of the axes of the
    * original bounding box is smaller than amount/2, the method will trigger
@@ -195,7 +196,7 @@ BoundingBox<spacedim, Number>::extend(const Number &amount)
       boundary_points.first[d] -= amount;
       boundary_points.second[d] += amount;
       Assert(boundary_points.first[d] <= boundary_points.second[d],
-             ExcMessage("Bounding Box can't be shrinked this much: the points' "
+             ExcMessage("Bounding Box can't be shrunk this much: the points' "
                         "order should remain bottom left, top right."));
     }
 }

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.