From f2833c39ae45f9e293d58c0e9b86bd1ab6e38b90 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 3 Sep 2009 12:35:42 +0000 Subject: [PATCH] Output only every 20th step. Be prepared to output up to 100,000 steps. git-svn-id: https://svn.dealii.org/trunk@19373 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-32/step-32.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/deal.II/examples/step-32/step-32.cc b/deal.II/examples/step-32/step-32.cc index 1e13f52be7..23667c50fb 100644 --- a/deal.II/examples/step-32/step-32.cc +++ b/deal.II/examples/step-32/step-32.cc @@ -2825,7 +2825,7 @@ void BoussinesqFlowProblem::solve () template void BoussinesqFlowProblem::output_results () { - if (timestep_number % 10 != 0) + if (timestep_number % 20 != 0) return; computing_timer.enter_section ("Postprocessing"); @@ -2942,7 +2942,8 @@ void BoussinesqFlowProblem::output_results () data_out.build_patches (std::min(stokes_degree, temperature_degree)); std::ostringstream filename; - filename << "solution-" << Utilities::int_to_string(timestep_number, 4) << ".vtk"; + filename << "solution-" << Utilities::int_to_string(timestep_number, 5) + << ".vtk"; std::ofstream output (filename.str().c_str()); data_out.write_vtk (output); -- 2.39.5