From 3287852339e0428381e17536c6659b9b64b345e2 Mon Sep 17 00:00:00 2001 From: wolf Date: Mon, 14 Apr 2003 14:47:46 +0000 Subject: [PATCH] Change a couple of indentation and style issues. git-svn-id: https://svn.dealii.org/trunk@7394 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/source/grid/tria.cc | 30 ++++++++++++++++++++--------- 1 file changed, 21 insertions(+), 9 deletions(-) diff --git a/deal.II/deal.II/source/grid/tria.cc b/deal.II/deal.II/source/grid/tria.cc index 99c6f5e3e2..54ee161723 100644 --- a/deal.II/deal.II/source/grid/tria.cc +++ b/deal.II/deal.II/source/grid/tria.cc @@ -4294,7 +4294,9 @@ unsigned int Triangulation::max_adjacent_cells () const { template -void Triangulation::execute_coarsening_and_refinement () { +void +Triangulation::execute_coarsening_and_refinement () +{ prepare_coarsening_and_refinement (); execute_coarsening(); @@ -4305,7 +4307,9 @@ void Triangulation::execute_coarsening_and_refinement () { #if deal_II_dimension == 1 template <> -void Triangulation<1>::execute_refinement () { +void +Triangulation<1>::execute_refinement () +{ const unsigned int dim = 1; // check whether a new level is @@ -4560,7 +4564,9 @@ void Triangulation<1>::execute_refinement () { #if deal_II_dimension == 2 template <> -void Triangulation<2>::execute_refinement () { +void +Triangulation<2>::execute_refinement () +{ const unsigned int dim = 2; // check whether a new level is @@ -5147,15 +5153,19 @@ void Triangulation<2>::execute_refinement () { subcells[1]->clear_user_pointer (); - subcells[2]->set (Quad(new_lines[11]->index(), new_lines[3]->index(), - new_lines[4]->index(), new_lines[9]->index())); + subcells[2]->set (Quad(new_lines[11]->index(), + new_lines[3]->index(), + new_lines[4]->index(), + new_lines[9]->index())); subcells[2]->set_used_flag(); subcells[2]->clear_children(); subcells[2]->clear_user_pointer (); - subcells[3]->set (Quad(new_lines[10]->index(), new_lines[9]->index(), - new_lines[5]->index(), new_lines[6]->index())); + subcells[3]->set (Quad(new_lines[10]->index(), + new_lines[9]->index(), + new_lines[5]->index(), + new_lines[6]->index())); subcells[3]->set_used_flag(); subcells[3]->clear_children(); subcells[3]->clear_user_pointer (); @@ -5243,7 +5253,8 @@ void Triangulation<2>::execute_refinement () { #if deal_II_dimension == 3 template <> -void Triangulation<3>::execute_refinement () +void +Triangulation<3>::execute_refinement () { const unsigned int dim = 3; @@ -5640,7 +5651,8 @@ void Triangulation<3>::execute_refinement () new_lines[i] = next_unused_line; ++next_unused_line; - Assert (new_lines[i]->used() == false, ExcCellShouldBeUnused()); + Assert (new_lines[i]->used() == false, + ExcCellShouldBeUnused()); }; // set the data of the -- 2.39.5