]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fixed indentation.
authorLuca Heltai <luca.heltai@sissa.it>
Mon, 6 Apr 2015 20:06:56 +0000 (22:06 +0200)
committerLuca Heltai <luca.heltai@sissa.it>
Tue, 7 Apr 2015 14:02:17 +0000 (16:02 +0200)
examples/step-29/step-29.cc
examples/step-34/step-34.cc
examples/step-42/step-42.cc
examples/step-47/step-47.cc

index 110770468d222c07c8c721804c6a82d799179873..f44b57db0b2d11eb7d04a4bcf78b0277d895e8f0 100644 (file)
@@ -491,11 +491,12 @@ namespace Step29
     for (; cell!=endc; ++cell)
       for (unsigned int face=0; face<GeometryInfo<dim>::faces_per_cell; ++face)
         if ( cell->face(face)->at_boundary() &&
-             ((cell->face(face)->center() - transducer).norm_square() < 0.01) ) {
-         
-         cell->face(face)->set_boundary_indicator (1);
-          cell->face(face)->set_manifold_id (1);
-       }
+             ((cell->face(face)->center() - transducer).norm_square() < 0.01) )
+          {
+
+            cell->face(face)->set_boundary_indicator (1);
+            cell->face(face)->set_manifold_id (1);
+          }
     // For the circle part of the transducer lens, a hyper-ball object is used
     // (which, of course, in 2D just represents a circle), with radius and
     // center as computed above. By marking this object as
index 84e6c1f8c425576bbef4a0d1249de0213b454b80..2d94b432f69ba3a82208f05a7384636d815a85dd 100644 (file)
@@ -516,7 +516,7 @@ namespace Step34
     GridIn<dim-1, dim> gi;
     gi.attach_triangulation (tria);
     gi.read_ucd (in);
-    
+
     tria.set_all_manifold_ids(1);
     tria.set_manifold(1, manifold);
   }
index ecf37f8e6a0c4c2e0bdfb0c356955b10407bb5c1..64de7f14b15bb9c0b34590305383e10e33bcc375 100644 (file)
@@ -912,7 +912,7 @@ namespace Step42
         GridTools::shift(Point<dim>(0.5, 0.5, 0.5), triangulation);
 
         static SphericalManifold<dim> manifold_description(Point<dim>(0.5, 0.5, 0.5));
-       GridTools::copy_boundary_to_manifold_id(triangulation);
+        GridTools::copy_boundary_to_manifold_id(triangulation);
         triangulation.set_manifold(0, manifold_description);
       }
     // Alternatively, create a hypercube mesh. After creating it,
index 6157620783c2da8244ad7bb61790b5fcfd3c9df6..156662a0a5a9e43e2c4fdab8e743e403e1949f23 100644 (file)
@@ -1062,7 +1062,7 @@ namespace Step47
             //GridGenerator::hyper_cube (triangulation, -1, 1);
 
             static const SphericalManifold<dim> boundary;
-           triangulation.set_all_manifold_ids_on_boundary(0);
+            triangulation.set_all_manifold_ids_on_boundary(0);
             triangulation.set_manifold (0, boundary);
 
             triangulation.refine_global (2);

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.