]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Print maximal velocity.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 24 Aug 2009 16:17:33 +0000 (16:17 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 24 Aug 2009 16:17:33 +0000 (16:17 +0000)
git-svn-id: https://svn.dealii.org/trunk@19333 0785d39b-7218-0410-832d-ea1e28bc413d

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

index b1193d003c97a327d3c2e3c41a79b0379e160703..e948419cfe251ae2edd344404ded485605495aa5 100644 (file)
@@ -2702,6 +2702,10 @@ void BoussinesqFlowProblem<dim>::solve ()
                GridTools::minimal_cell_diameter(triangulation) /
                1e-10;
 
+  pcout << "   Maximal velocity: "
+       << maximal_velocity * EquationData::year_in_seconds * 100
+       << " cm/year"
+       << std::endl;
   pcout << "   " << "Time step: "
        << time_step/EquationData::year_in_seconds
        << " years"

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.