]> https://gitweb.dealii.org/ - dealii.git/commitdiff
indentation
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Mon, 15 Apr 2013 14:25:12 +0000 (14:25 +0000)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Mon, 15 Apr 2013 14:25:12 +0000 (14:25 +0000)
git-svn-id: https://svn.dealii.org/trunk@29285 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/grid/grid_refinement.cc

index 82c9684336851184c85a140ba35b433bec7a78be..e0a3acdaebdc7cb365db1150223ec4baa652d42c 100644 (file)
@@ -243,12 +243,12 @@ void GridRefinement::refine (Triangulation<dim,spacedim> &tria,
   unsigned int marked=0;
   for (unsigned int index=0; index<n_cells; ++cell, ++index)
     if (std::fabs(criteria(index)) >= new_threshold)
-    {
-      if (max_to_mark!=numbers::invalid_unsigned_int && marked>=max_to_mark)
-        break;
-      marked++;
-      cell->set_refine_flag();
-    }
+      {
+        if (max_to_mark!=numbers::invalid_unsigned_int && marked>=max_to_mark)
+          break;
+        marked++;
+        cell->set_refine_flag();
+      }
 }
 
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.