]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Properly indent output in step-9 to match all of the other output.
authorWolfgang Bangerth <bangerth@colostate.edu>
Tue, 21 May 2024 22:41:47 +0000 (16:41 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Tue, 21 May 2024 22:41:47 +0000 (16:41 -0600)
examples/step-9/step-9.cc

index 017b7d7354a00c9d433a5d8c038f61308da7bdc7..10b425390cdee97d4f90ef2826f863c9fdd05ec4 100644 (file)
@@ -746,9 +746,9 @@ namespace Step9
       system_rhs);
   }
 
-  // Here comes the linear solver routine. As the system is no longer
+  // The next function is the linear solver routine. As the system is no longer
   // symmetric positive definite as in all the previous examples, we cannot
-  // use the Conjugate Gradient method anymore. Rather, we use a solver that
+  // use the Conjugate Gradient method any more. Rather, we use a solver that
   // is more general and does not rely on any special properties of the
   // matrix: the GMRES method. GMRES, like the conjugate gradient method,
   // requires a decent preconditioner: we use a Jacobi preconditioner here,
@@ -823,7 +823,7 @@ namespace Step9
       const std::string filename = "grid-" + std::to_string(cycle) + ".vtu";
       std::ofstream     output(filename);
       grid_out.write_vtu(triangulation, output);
-      std::cout << "Grid written to " << filename << std::endl;
+      std::cout << "   Grid written to " << filename << std::endl;
     }
 
     {
@@ -842,7 +842,7 @@ namespace Step9
       const std::string filename = "solution-" + std::to_string(cycle) + ".vtu";
       std::ofstream     output(filename);
       data_out.write_vtu(output);
-      std::cout << "Solution written to " << filename << std::endl;
+      std::cout << "   Solution written to " << filename << std::endl;
     }
   }
 

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.