From: Luca Heltai Date: Mon, 6 Apr 2015 20:06:56 +0000 (+0200) Subject: Fixed indentation. X-Git-Tag: v8.3.0-rc1~301^2~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e09f008c817d47afe94805fdb2caa9cedc04a406;p=dealii.git Fixed indentation. --- diff --git a/examples/step-29/step-29.cc b/examples/step-29/step-29.cc index 110770468d..f44b57db0b 100644 --- a/examples/step-29/step-29.cc +++ b/examples/step-29/step-29.cc @@ -491,11 +491,12 @@ namespace Step29 for (; cell!=endc; ++cell) for (unsigned int face=0; face::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 diff --git a/examples/step-34/step-34.cc b/examples/step-34/step-34.cc index 84e6c1f8c4..2d94b432f6 100644 --- a/examples/step-34/step-34.cc +++ b/examples/step-34/step-34.cc @@ -516,7 +516,7 @@ namespace Step34 GridIn gi; gi.attach_triangulation (tria); gi.read_ucd (in); - + tria.set_all_manifold_ids(1); tria.set_manifold(1, manifold); } diff --git a/examples/step-42/step-42.cc b/examples/step-42/step-42.cc index ecf37f8e6a..64de7f14b1 100644 --- a/examples/step-42/step-42.cc +++ b/examples/step-42/step-42.cc @@ -912,7 +912,7 @@ namespace Step42 GridTools::shift(Point(0.5, 0.5, 0.5), triangulation); static SphericalManifold manifold_description(Point(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, diff --git a/examples/step-47/step-47.cc b/examples/step-47/step-47.cc index 6157620783..156662a0a5 100644 --- a/examples/step-47/step-47.cc +++ b/examples/step-47/step-47.cc @@ -1062,7 +1062,7 @@ namespace Step47 //GridGenerator::hyper_cube (triangulation, -1, 1); static const SphericalManifold 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);