KSPGetTolerances

Gets the relative, absolute, divergence, and maximum iteration tolerances used by the default KSP convergence tests.

Synopsis

int KSPGetTolerances(KSP ksp,double *rtol,double *atol,double *dtol,int *maxits)
Not Collective

Input Parameter

ksp -the Krylov subspace context Output Parameters: + rtol - the relative convergence tolerance
atol -the absolute convergence tolerance
dtol -the divergence tolerance
maxits -maximum number of iterations

Notes

The user can specify PETSC_NULL for any parameter that is not needed.

Keywords

KSP, get, tolerance, absolute, relative, divergence, convergence,
maximum, iterations

See Also

KSPSetTolerances()

Location: src/ksp/interface/itfunc.c
KSP Index
Table of Contents