]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make the spelling of 'add_parameter()' arguments consistent.
authorWolfgang Bangerth <bangerth@colostate.edu>
Fri, 3 Apr 2020 02:12:50 +0000 (20:12 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Sat, 4 Apr 2020 17:04:27 +0000 (11:04 -0600)
Specifically, always capitalize the first letter. Right now, it's inconsistent.

examples/step-69/step-69.cc

index eaef8c5f3b077cb5aa014771797f17e39b9de3bf..caa9eba2b89f7501ecaeeb3405f3b541c56f5c58 100644 (file)
@@ -540,10 +540,10 @@ namespace Step69
     , computing_timer(computing_timer)
   {
     length = 4.;
-    add_parameter("length", length, "length of computational domain");
+    add_parameter("length", length, "Length of computational domain");
 
     height = 2.;
-    add_parameter("height", height, "height of computational domain");
+    add_parameter("height", height, "Height of computational domain");
 
     disk_position = 0.6;
     add_parameter("object position",
@@ -553,12 +553,12 @@ namespace Step69
     disk_diameter = 0.5;
     add_parameter("object diameter",
                   disk_diameter,
-                  "diameter of immersed disk");
+                  "Diameter of immersed disk");
 
     refinement = 5;
     add_parameter("refinement",
                   refinement,
-                  "number of refinement steps of the geometry");
+                  "Number of refinement steps of the geometry");
   }
 
   // Note that in the previous constructor we only passed the MPI
@@ -1833,7 +1833,7 @@ namespace Step69
     cfl_update = 0.80;
     add_parameter("cfl update",
                   cfl_update,
-                  "relative CFL constant used for update");
+                  "Relative CFL constant used for update");
   }
 
   // In the class member <code>prepare()</code> we initialize the temporary

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.