From 982688d1abba29b723d0ec45f43331a69a52dc49 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Tue, 24 May 2016 12:13:08 +0100 Subject: [PATCH] small code update --- examples/step-56/step-56.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/examples/step-56/step-56.cc b/examples/step-56/step-56.cc index 770e79fbc8..4618406b77 100644 --- a/examples/step-56/step-56.cc +++ b/examples/step-56/step-56.cc @@ -491,7 +491,7 @@ namespace Step56 fe (velocity_fe, 1, FE_Q (pressure_degree), 1), dof_handler (triangulation), velocity_dof_handler (triangulation), - computing_timer (std::cout, TimerOutput::summary, + computing_timer (std::cout, TimerOutput::never, TimerOutput::wall_times) {} @@ -1053,7 +1053,7 @@ namespace Step56 // @sect4{StokesProblem::output_results} -// This function generates graphical output like it is done in step-16. +// This function generates graphical output like it is done in step-22. template void StokesProblem::output_results (const unsigned int refinement_cycle) const @@ -1130,13 +1130,14 @@ namespace Step56 compute_errors (); + output_results (refinement_cycle); + Utilities::System::MemoryStats mem; Utilities::System::get_memory_stats(mem); std::cout << " VM Peak: " << mem.VmPeak << std::endl; computing_timer.print_summary (); computing_timer.reset (); - output_results (refinement_cycle); } } } -- 2.39.5