Convergence test that do not return as converged until the maximum number of iterations is reached.
PetscErrorCode KSPConvergedSkip(KSP ksp,PetscInt n,PetscReal rnorm,KSPConvergedReason *reason,void *dummy)
Collective on ksp
|ksp ||- iterative context
|n ||- iteration number
|rnorm ||- 2-norm residual value (may be estimated)
|dummy ||- unused convergence context
This should be used as the convergence test with the option
KSPSetNormType(ksp,KSP_NORM_NONE), since norms of the residual are
not computed. Convergence is then declared after the maximum number
of iterations have been reached. Useful when one is using CG or
BiCGStab as a smoother.
KSPSetConvergenceTest(), KSPSetTolerances(), KSPSetNormType()
Index of all KSP routines
Table of Contents for all manual pages
Index of all manual pages