]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Put variables on separate lines 6833/head
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Mon, 25 Jun 2018 10:56:50 +0000 (12:56 +0200)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Mon, 25 Jun 2018 10:56:50 +0000 (12:56 +0200)
examples/step-35/step-35.cc

index 6ed7dcabab64d1bac341d31d711f8d5e18cf34b0..75ab69cfb3725c9b375fa1f99fc044c577af6462 100644 (file)
@@ -100,7 +100,9 @@ namespace Step35
 
       Method form;
 
-      double dt, initial_time, final_time;
+      double dt;
+      double initial_time;
+      double final_time;
 
       double Reynolds;
 
@@ -112,7 +114,8 @@ namespace Step35
       unsigned int vel_Krylov_size;
       unsigned int vel_off_diagonals;
       unsigned int vel_update_prec;
-      double       vel_eps, vel_diag_strength;
+      double       vel_eps;
+      double       vel_diag_strength;
 
       bool         verbose;
       unsigned int output_interval;
@@ -438,7 +441,9 @@ namespace Step35
     RunTimeParameters::Method type;
 
     const unsigned int deg;
-    const double       dt, t_0, T;
+    const double       dt;
+    const double       t_0;
+    const double       T;
     const double       Re;
 
     EquationData::Velocity<dim>               vel_exact;

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.