KSPGetIterationNumber
Gets the current iteration number (if the KSPSolve() (SLESSolve()) is complete, returns the number of iterations used.
Synopsis
int KSPGetIterationNumber(KSP ksp,int *its)
Not Collective
Input Parameters
ksp -the iterative context
Output Parameters
its -number of iterations
Notes
During the ith iteration this returns i-1
Keywords
KSP, get, residual norm
See Also
KSPComputeResidual(), KSPGetResidualNorm()
Level:intermediate
Location:src/sles/ksp/interface/iterativ.c
KSP Index
Table of Contents