]> https://gitweb.dealii.org/ - dealii.git/commitdiff
indent
authoramola <amola@terminus.sissa.it>
Mon, 11 Apr 2016 10:26:19 +0000 (12:26 +0200)
committeramola <amola@terminus.sissa.it>
Mon, 11 Apr 2016 11:05:58 +0000 (13:05 +0200)
tests/grid/grid_in_ucd_01.cc

index 5bb58fad2e4a41bb64ba28e47975f80814fb556d..d186a4901dcd530f20d4a8fa9227c15ec0ce69a6 100644 (file)
@@ -62,19 +62,19 @@ int main ()
   deallog << "Material IDs: " << std::endl;
   Triangulation<2,3>::active_cell_iterator cell = tria.begin_active();
   Triangulation<2,3>::active_cell_iterator endc = tria.end();
-  for ( ; cell!= endc;++cell)
-      {
+  for ( ; cell!= endc; ++cell)
+    {
       deallog << cell << "  " << int(cell->material_id()) << std::endl;
-      }
+    }
 
   deallog << "Manifold IDs: " << std::endl;
   cell = tria.begin_active();
-  for ( ; cell!= endc;++cell)
-      {
+  for ( ; cell!= endc; ++cell)
+    {
       for (unsigned int f=0; f<GeometryInfo<2>::faces_per_cell; ++f)
-          if (cell->face(f)->manifold_id() != numbers::flat_manifold_id)
-             deallog << cell << " (" << f <<")  "<< int(cell->face(f)->manifold_id()) << std::endl;
-      }
+        if (cell->face(f)->manifold_id() != numbers::flat_manifold_id)
+          deallog << cell << " (" << f <<")  "<< int(cell->face(f)->manifold_id()) << std::endl;
+    }
 
 }
 

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.