]> https://gitweb.dealii.org/ - dealii.git/commitdiff
indent
authorTimo Heister <timo.heister@gmail.com>
Tue, 4 Oct 2016 14:17:15 +0000 (10:17 -0400)
committerTimo Heister <timo.heister@gmail.com>
Tue, 4 Oct 2016 14:17:15 +0000 (10:17 -0400)
tests/grid/grid_generator_hyper_cube_slit_01.cc

index 49a81b5ac2346a6656fdbc48783307a08638b6c2..0a4928caaed70afcba58c57ba2c763b766626c28 100644 (file)
@@ -34,20 +34,20 @@ void test()
   Triangulation<dim> tr;
   GridGenerator::hyper_cube_slit(tr, -1, 1, true);
   typename Triangulation<dim>::active_cell_iterator
-    cell = tr.begin_active(),
-    endc = tr.end();
+  cell = tr.begin_active(),
+  endc = tr.end();
   for (; cell!=endc; ++cell)
     {
       deallog << "cell:" << std::endl;
-      
+
       for (unsigned int face=0; face<GeometryInfo<dim>::faces_per_cell; ++face)
-       {
-         if (cell->face(face)->at_boundary() && cell->face(face)->boundary_id() != 0)
-           deallog << "boundary id = " << (int)cell->face(face)->boundary_id()
-                   << " center = " << cell->face(face)->center()
-                   << " faceidx = " << face
-                   << std::endl;
-       }
+        {
+          if (cell->face(face)->at_boundary() && cell->face(face)->boundary_id() != 0)
+            deallog << "boundary id = " << (int)cell->face(face)->boundary_id()
+                    << " center = " << cell->face(face)->center()
+                    << " faceidx = " << face
+                    << 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.