]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix indent
authorBruno Blais <blais.bruno@gmail.com>
Sun, 25 Feb 2024 18:51:53 +0000 (13:51 -0500)
committerBruno Blais <blais.bruno@gmail.com>
Sun, 25 Feb 2024 18:51:53 +0000 (13:51 -0500)
tests/grid/grid_generator_cylinder_shell_colorized.cc

index c4d7066e95db6299a7ec6d8c779b720393be698c..84f7f64164da48dd33386b84caf3391ddf3a2a09 100644 (file)
@@ -32,40 +32,40 @@ test(std::ostream &out)
 {
   deallog << "cylinder_shell colorized with default aspect ratio" << std::endl;
   {
-  Triangulation<dim> tr;
-  GridGenerator::cylinder_shell(tr, 2., 5., 6., 0, 0, true);
-
-  for (const auto &cell : tr.active_cell_iterators())
-    {
-      deallog << "cell:" << std::endl;
-
-      for (const auto &face : cell->face_iterators())
-        {
-          if (face->at_boundary())
-            deallog << "boundary id = " << face->boundary_id()
-                    << " center = " << face->center()
-                    << " faceidx = " << face->index() << std::endl;
-        }
-    }
+    Triangulation<dim> tr;
+    GridGenerator::cylinder_shell(tr, 2., 5., 6., 0, 0, true);
+
+    for (const auto &cell : tr.active_cell_iterators())
+      {
+        deallog << "cell:" << std::endl;
+
+        for (const auto &face : cell->face_iterators())
+          {
+            if (face->at_boundary())
+              deallog << "boundary id = " << face->boundary_id()
+                      << " center = " << face->center()
+                      << " faceidx = " << face->index() << std::endl;
+          }
+      }
   }
 
   deallog << "cylinder_shell colorized with 3:2 ratio " << std::endl;
   {
-  Triangulation<dim> tr;
-  GridGenerator::cylinder_shell(tr, 2., 5., 6., 3, 2, true);
-
-  for (const auto &cell : tr.active_cell_iterators())
-    {
-      deallog << "cell:" << std::endl;
-
-      for (const auto &face : cell->face_iterators())
-        {
-          if (face->at_boundary())
-            deallog << "boundary id = " << face->boundary_id()
-                    << " center = " << face->center()
-                    << " faceidx = " << face->index() << std::endl;
-        }
-    }
+    Triangulation<dim> tr;
+    GridGenerator::cylinder_shell(tr, 2., 5., 6., 3, 2, true);
+
+    for (const auto &cell : tr.active_cell_iterators())
+      {
+        deallog << "cell:" << std::endl;
+
+        for (const auto &face : cell->face_iterators())
+          {
+            if (face->at_boundary())
+              deallog << "boundary id = " << face->boundary_id()
+                      << " center = " << face->center()
+                      << " faceidx = " << face->index() << 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.