]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Align member variables in step-23.
authorWolfgang Bangerth <bangerth@colostate.edu>
Tue, 8 May 2018 06:46:52 +0000 (14:46 +0800)
committerWolfgang Bangerth <bangerth@colostate.edu>
Tue, 8 May 2018 06:49:52 +0000 (14:49 +0800)
While there also use separate lines for each variable.

examples/step-23/step-23.cc

index 7fc666c068144f3de20964c11736f6171282e39d..b18497dcb160e1d6d59d7d9ec1e3e7ae59ea94cc 100644 (file)
@@ -128,7 +128,7 @@ namespace Step23
     FE_Q<dim>            fe;
     DoFHandler<dim>      dof_handler;
 
-    ConstraintMatrix constraints;
+    ConstraintMatrix     constraints;
 
     SparsityPattern      sparsity_pattern;
     SparseMatrix<double> mass_matrix;
@@ -140,9 +140,10 @@ namespace Step23
     Vector<double>       old_solution_u, old_solution_v;
     Vector<double>       system_rhs;
 
-    double time_step, time;
-    unsigned int timestep_number;
-    const double theta;
+    double               time_step
+    double               time;
+    unsigned int         timestep_number;
+    const double         theta;
   };
 
 

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.