slepc-3.10.2 2019-02-11
NEPGetIterationNumber
Gets the current iteration number. If the call to NEPSolve() is complete, then it returns the number of iterations carried out by the solution method.
Synopsis
#include "slepcnep.h"
PetscErrorCode NEPGetIterationNumber(NEP nep,PetscInt *its)
Not Collective
Input Parameter
| nep | - the nonlinear eigensolver context
|
Output Parameter
| its | - number of iterations
|
Note
During the i-th iteration this call returns i-1. If NEPSolve() is
complete, then parameter "its" contains either the iteration number at
which convergence was successfully reached, or failure was detected.
Call NEPGetConvergedReason() to determine if the solver converged or
failed and why.
See Also
NEPGetConvergedReason(), NEPSetTolerances()
Location: src/nep/interface/nepsolve.c
Index of all NEP routines
Table of Contents for all manual pages
Index of all manual pages
Examples
src/nep/examples/tutorials/ex20.c.html
src/nep/examples/tutorials/ex20f90.F90.html