From: Wolfgang Bangerth Date: Thu, 3 May 2018 01:13:52 +0000 (-0600) Subject: Follow convention with placement of 'break' statement. X-Git-Tag: v9.0.0-rc1~31^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F6430%2Fhead;p=dealii.git Follow convention with placement of 'break' statement. --- diff --git a/examples/step-54/step-54.cc b/examples/step-54/step-54.cc index 17e6824faa..d2e182e92c 100644 --- a/examples/step-54/step-54.cc +++ b/examples/step-54/step-54.cc @@ -286,8 +286,9 @@ namespace Step54 OpenCASCADE::NormalProjectionBoundary<2,3> normal_projector(bow_surface, tolerance); tria.set_manifold(1,normal_projector); + + break; } - break; // @p If surface_projection_kind value is @p DirectionalProjection, we select the // OpenCASCADE::DirectionalProjectionBoundary class. The new mesh points will @@ -301,8 +302,9 @@ namespace Step54 OpenCASCADE::DirectionalProjectionBoundary<2,3> directional_projector(bow_surface, Point<3>(0.0,1.0,0.0), tolerance); tria.set_manifold(1,directional_projector); + + break; } - break; // As a third option, if @p surface_projection_kind value // is @p NormalToMeshProjection, we select the @@ -318,8 +320,9 @@ namespace Step54 OpenCASCADE::NormalToMeshProjectionBoundary<2,3> normal_to_mesh_projector(bow_surface, tolerance); tria.set_manifold(1,normal_to_mesh_projector); + + break; } - break; // Finally, we use good software cleanliness by ensuring that this // really covers all possible options of the @p case statement. If we