]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
use new TimerOutput features
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 20 Mar 2013 15:23:07 +0000 (15:23 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 20 Mar 2013 15:23:07 +0000 (15:23 +0000)
git-svn-id: https://svn.dealii.org/trunk@28958 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 1a77c4e03bc16f2737b72131bb240be73f710803..33fcc0f2d7d77b3141f7ef535f1b168d4cd76110 100644 (file)
@@ -607,7 +607,7 @@ namespace Step42
     nu (0.3),
     computing_timer (MPI_COMM_WORLD,
                      pcout,
-                     TimerOutput::summary,
+                     TimerOutput::never,
                      TimerOutput::wall_times)
   {
     // double _E, double _nu, double _sigma_0, double _gamma
@@ -1533,6 +1533,7 @@ namespace Step42
         computing_timer.exit_section("Graphical output");
 
         computing_timer.print_summary();
+        computing_timer.reset();
       }
   }
 }

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.