target residual. The reason is that it happens that we converge on the
very last allowed iteration, most often if the system has only 5 or so
equations, and we converge in the fifth iteration.
git-svn-id: https://svn.dealii.org/trunk@5212
0785d39b-7218-0410-832d-
ea1e28bc413d
deallog << "Starting value " << check_value << std::endl;
}
+ if (check_value <= tol)
+ {
+ if (m_log_result)
+ deallog << "Convergence step " << step
+ << " value " << check_value << std::endl;
+ lcheck = success;
+ return success;
+ }
if ((step >= maxsteps) ||
#ifdef HAVE_ISNAN
return failure;
}
- if (check_value <= tol)
- {
- if (m_log_result)
- deallog << "Convergence step " << step
- << " value " << check_value << std::endl;
- lcheck = success;
- return success;
- }
lcheck = iterate;
return iterate;
}
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