From: Wolfgang Bangerth Date: Tue, 3 Apr 2018 16:29:23 +0000 (-0600) Subject: Indent arguments uniformly. X-Git-Tag: v9.0.0-rc1~240^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f13c8fea657b3ba7aad7bebd94242beb178c626a;p=dealii.git Indent arguments uniformly. --- 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) {