slepc3.16.1 20211117
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"
#include "slepcbv.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 ith iteration this call returns i1. 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
Examples
src/nep/tutorials/ex20.c.html
src/nep/tutorials/ex20f90.F90.html
Index of all NEP routines
Table of Contents for all manual pages
Index of all manual pages