From 1805fbe2f0a13c74f4578dbe8ae03b78cce56088 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 3 Oct 2017 13:27:46 -0600 Subject: [PATCH] Doc update for GridTools::compute_bounding_box(). --- include/deal.II/grid/grid_tools.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/include/deal.II/grid/grid_tools.h b/include/deal.II/grid/grid_tools.h index 89eafb28b4..de1df60ede 100644 --- a/include/deal.II/grid/grid_tools.h +++ b/include/deal.II/grid/grid_tools.h @@ -1111,8 +1111,14 @@ namespace GridTools * Here, the "subdomain" consists of exactly all of those * active cells for which the @p predicate returns @p true. * - * For a description of how predicate works, - * see compute_active_cell_halo_layer() + * For a description of how @p predicate works, + * see compute_active_cell_halo_layer(). + * + * @note This function was written before the BoundingBox class was invented. + * Consequently, it returns a pair of points, rather than a BoundingBox object + * as one may expect. However, BoundingBox has a conversion constructor from + * pairs of points, so the result of this function can still be assigned to + * a BoundingBox object. */ template std::pair< Point, Point > -- 2.39.5