From 440455f0d9a13cff2a67735a3b418192d9e111f4 Mon Sep 17 00:00:00 2001 From: Luca Heltai Date: Tue, 23 Apr 2019 11:22:12 +0200 Subject: [PATCH] Fix documentation of extend + spelling. --- include/deal.II/base/bounding_box.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/deal.II/base/bounding_box.h b/include/deal.II/base/bounding_box.h index 97acdb873d..bfb85c5e79 100644 --- a/include/deal.II/base/bounding_box.h +++ b/include/deal.II/base/bounding_box.h @@ -141,7 +141,8 @@ public: point_inside(const Point &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::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.")); } } -- 2.39.5