]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Beautify output.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 15 Feb 2011 19:29:50 +0000 (19:29 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 15 Feb 2011 19:29:50 +0000 (19:29 +0000)
git-svn-id: https://svn.dealii.org/trunk@23372 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-32/step-32.cc

index d48e639048c03dd6582b8c66e4ada89bd21934d4..59621e80cb8ae42b0913a015aa520ef55fd141fb 100644 (file)
@@ -2820,6 +2820,8 @@ void BoussinesqFlowProblem<dim>::solve ()
   computing_timer.enter_section ("   Solve Stokes system");
 
   {
+    pcout << "   Solving Stokes system... " << std::flush;
+
     const LinearSolvers::RightPrecond<TrilinosWrappers::PreconditionAMG,
       TrilinosWrappers::PreconditionILU>
       preconditioner (stokes_matrix, stokes_preconditioner_matrix,
@@ -2855,10 +2857,10 @@ void BoussinesqFlowProblem<dim>::solve ()
     stokes_solution.block(0).reinit(distributed_stokes_solution.block(0), false, true);
     stokes_solution.block(1).reinit(distributed_stokes_solution.block(1), false, true);
 
-    pcout << "   "
-         << solver_control.last_step()
-         << " iterations for Stokes subsystem."
-          << " reduced res by " << solver_control.last_value()/solver_control.initial_value()
+    pcout << solver_control.last_step()
+         << " iterations."
+          << " Reduced residual by "
+         << solver_control.last_value()/solver_control.initial_value()
          << std::endl;
   }
   computing_timer.exit_section();

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.