From f13c8fea657b3ba7aad7bebd94242beb178c626a Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 3 Apr 2018 10:29:23 -0600 Subject: [PATCH] Indent arguments uniformly. --- include/deal.II/grid/grid_tools.h | 6 ++++-- source/grid/grid_tools.cc | 8 +++++--- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/include/deal.II/grid/grid_tools.h b/include/deal.II/grid/grid_tools.h index 38807c8455..da0f37e578 100644 --- a/include/deal.II/grid/grid_tools.h +++ b/include/deal.II/grid/grid_tools.h @@ -1370,9 +1370,11 @@ namespace GridTools template < class MeshType > std::vector< BoundingBox< MeshType::space_dimension > > compute_mesh_predicate_bounding_box - ( const MeshType &mesh, + ( const MeshType &mesh, const std::function &predicate, - const unsigned int &refinement_level = 0, const bool &allow_merge = false, const unsigned int &max_boxes = numbers::invalid_unsigned_int); + const unsigned int &refinement_level = 0, + const bool &allow_merge = false, + const unsigned int &max_boxes = numbers::invalid_unsigned_int); /** * Given an array of points, use the global bounding box description obtained using diff --git a/source/grid/grid_tools.cc b/source/grid/grid_tools.cc index 80122b2fe2..5d126f1c0d 100644 --- a/source/grid/grid_tools.cc +++ b/source/grid/grid_tools.cc @@ -1804,9 +1804,11 @@ next_cell: template < class MeshType > std::vector< BoundingBox > compute_mesh_predicate_bounding_box - (const MeshType &mesh, + (const MeshType &mesh, const std::function &predicate, - const unsigned int &refinement_level, const bool &allow_merge, const unsigned int &max_boxes) + const unsigned int &refinement_level, + const bool &allow_merge, + const unsigned int &max_boxes) { // Algorithm brief description: begin with creating bounding boxes of all cells at // refinement_level (and coarser levels if there are active cells) which have the predicate @@ -1853,7 +1855,7 @@ next_cell: std::vector merged_boxes_idx; bool found_neighbors = true; - // We merge only nighbors which can be expressed by a single bounding box + // We merge only neighbors which can be expressed by a single bounding box // e.g. in 1d [0,1] and [1,2] can be described with [0,2] without losing anything while (found_neighbors) { -- 2.39.5