]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix: Set lstep and lvalue also when reduced_tol is reached.
authorhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 17 Dec 2002 16:40:52 +0000 (16:40 +0000)
committerhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 17 Dec 2002 16:40:52 +0000 (16:40 +0000)
git-svn-id: https://svn.dealii.org/trunk@6841 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/source/solver_control.cc

index 7d49e00e4ee1e53ce39915f2468d09672cc215a4..e2271bfee1269589844c343b9f453bf2b3b6f253 100644 (file)
@@ -246,6 +246,9 @@ ReductionControl::check (const unsigned int step,
       if (m_log_result)
        deallog << "Convergence step " << step
                << " value " << check_value << std::endl;
+      lstep  = step;
+      lvalue = check_value;
+      
       lcheck = success;
       return success;
     }

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.