]> https://gitweb.dealii.org/ - dealii.git/commitdiff
deuglify step-42 8154/head
authorMatthias Maier <tamiko@43-1.org>
Tue, 14 May 2019 05:06:20 +0000 (00:06 -0500)
committerMatthias Maier <tamiko@43-1.org>
Tue, 14 May 2019 05:06:20 +0000 (00:06 -0500)
examples/step-42/step-42.cc

index d45eee84d21d00c38d353368db8fe90bc1fdf445..799c59e8be59eba92d7b60cfba41926a99812c40 100644 (file)
@@ -810,24 +810,21 @@ namespace Step42
                       pcout,
                       TimerOutput::never,
                       TimerOutput::wall_times)
-    ,
 
-    n_initial_global_refinements(
-      prm.get_integer("number of initial refinements"))
+    n_initial_global_refinements(
+        prm.get_integer("number of initial refinements"))
     , triangulation(mpi_communicator)
     , fe_degree(prm.get_integer("polynomial degree"))
     , fe(FE_Q<dim>(QGaussLobatto<1>(fe_degree + 1)), dim)
     , dof_handler(triangulation)
-    ,
 
-    e_modulus(200000)
+    e_modulus(200000)
     , nu(0.3)
     , gamma(0.01)
     , sigma_0(400.0)
     , constitutive_law(e_modulus, nu, sigma_0, gamma)
-    ,
 
-    base_mesh(prm.get("base mesh"))
+    base_mesh(prm.get("base mesh"))
     , obstacle(prm.get("obstacle") == "read from file" ?
                  static_cast<const Function<dim> *>(
                    new EquationData::ChineseObstacle<dim>(
@@ -836,9 +833,8 @@ namespace Step42
                  static_cast<const Function<dim> *>(
                    new EquationData::SphereObstacle<dim>(
                      base_mesh == "box" ? 1.0 : 0.5)))
-    ,
 
-    transfer_solution(prm.get_bool("transfer solution"))
+    transfer_solution(prm.get_bool("transfer solution"))
     , n_refinement_cycles(prm.get_integer("number of cycles"))
     , current_refinement_cycle(0)
 

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.