gko::stop#
Stopping criteria for iterative solvers. Every Krylov solver in
gko::solver consumes a CriterionFactory
that produces a Criterion whose check() decides whether to stop
on each iteration. When a solver receives several criteria, it stops as
soon as any one of them fires.
Base machinery#
Built-in criteria#
Iteration: fixed iteration cap.Time: wall-clock cap.ResidualNorm: explicit and implicit residual-norm criteria for solver tolerance tests, with three baseline modes (right-hand-side, initial-residual, absolute).