From: Wolfgang Bangerth Date: Thu, 25 Sep 2014 22:35:58 +0000 (-0500) Subject: Fix an oversight in initializing the timer in step-40. X-Git-Tag: v8.2.0-rc1~128^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=592097bc927c4fc58dba1b129274a57b2fcf6f4b;p=dealii.git Fix an oversight in initializing the timer in step-40. --- diff --git a/examples/step-40/step-40.cc b/examples/step-40/step-40.cc index 06443592dc..afc0da2d75 100644 --- a/examples/step-40/step-40.cc +++ b/examples/step-40/step-40.cc @@ -186,7 +186,9 @@ namespace Step40 // machines available (MPI_COMM_WORLD); ask the triangulation to ensure that // the mesh remains smooth and free to refined islands, for example; and // initialize the pcout variable to only allow processor zero - // to output anything: + // to output anything. The final piece is to initialize a timer that we + // use to determine how much compute time the different parts of the program + // take: template LaplaceProblem::LaplaceProblem () : @@ -200,7 +202,8 @@ namespace Step40 pcout (std::cout, (Utilities::MPI::this_mpi_process(mpi_communicator) == 0)), - computing_timer (pcout, + computing_timer (mpi_communicator, + pcout, TimerOutput::summary, TimerOutput::wall_times) {}