Criteria that determine an iterative algorithm has converged.
Details
Most criteria are based on a residual magnitude \(r_k\) after completion of an iteration \(k\) (see, for instance, the Linear Solver documentation, LinearSolver::Tags::Residual
and LinearSolver::Tags::Magnitude
).
The following criteria are implemented, ordered from highest to lowest priority:
- AbsoluteResidual: Matches if the residual has reached this magnitude.
- RelativeResidual: Matches if the residual has decreased by this factor, relative to the start of the first iteration.
- MaxIterations: Matches if the number of iterations exceeds this limit.