From: Wolfgang Bangerth Date: Wed, 17 May 2000 10:56:14 +0000 (+0000) Subject: Reindent. X-Git-Tag: v8.0.0~20532 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f2637fb4edc8358e3f5acf5236ac3be866cac1e;p=dealii.git Reindent. git-svn-id: https://svn.dealii.org/trunk@2873 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/source/solver_control.cc b/deal.II/lac/source/solver_control.cc index d2577d4042..81d27b2a13 100644 --- a/deal.II/lac/source/solver_control.cc +++ b/deal.II/lac/source/solver_control.cc @@ -33,10 +33,12 @@ SolverControl::SolverControl (const unsigned int maxiter, {}; + SolverControl::~SolverControl() {}; + SolverControl::State SolverControl::check (const unsigned int step, const double check_value) @@ -48,18 +50,16 @@ SolverControl::check (const unsigned int step, lvalue = check_value; if ((step==0) && log_result) - { - deallog << "Starting value " << check_value << endl; - } + deallog << "Starting value " << check_value << endl; - -if (step>=maxsteps) + if (step >= maxsteps) { if (log_result) deallog << "Failure step " << step << " value " << check_value << endl; return failure; } + if (check_value <= tol) { if (log_result) @@ -71,6 +71,7 @@ if (step>=maxsteps) }; + double SolverControl::last_value() const {