From 29a62bdeb4fe04046ffad4067358773941ae6633 Mon Sep 17 00:00:00 2001 From: wolf Date: Sun, 10 Apr 2005 18:18:02 +0000 Subject: [PATCH] Another TODO fixed. git-svn-id: https://svn.dealii.org/trunk@10468 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-18/step-18.cc | 29 ++++++++++------------------- 1 file changed, 10 insertions(+), 19 deletions(-) diff --git a/deal.II/examples/step-18/step-18.cc b/deal.II/examples/step-18/step-18.cc index dda4b6ef8f..01d150b757 100644 --- a/deal.II/examples/step-18/step-18.cc +++ b/deal.II/examples/step-18/step-18.cc @@ -1490,28 +1490,19 @@ namespace QuasiStaticElasticity template void TopLevel::solve_timestep () { -//TODO: - for (unsigned int nonlinear_iteration=1; true; ++nonlinear_iteration) - { - pcout << " Nonlinear iteration " << nonlinear_iteration - << std::endl; - - pcout << " Assembling system..." << std::flush; - assemble_system (); - pcout << " norm of rhs is " << system_rhs.l2_norm() - << std::endl; + pcout << " Assembling system..." << std::flush; + assemble_system (); + pcout << " norm of rhs is " << system_rhs.l2_norm() + << std::endl; - const unsigned int n_iterations = solve_linear_problem (); + const unsigned int n_iterations = solve_linear_problem (); - pcout << " Solver converged in " << n_iterations - << " iterations." << std::endl; + pcout << " Solver converged in " << n_iterations + << " iterations." << std::endl; - pcout << " Updating quadrature point data..." << std::flush; - update_quadrature_point_history (); - pcout << std::endl; - - break; - } + pcout << " Updating quadrature point data..." << std::flush; + update_quadrature_point_history (); + pcout << std::endl; } -- 2.39.5