slepc-3.10.1 2018-10-23
Report Typos and Errors


Gets the current iteration number. If the call to LMESolve() is complete, then it returns the number of iterations carried out by the solution method.


#include "slepclme.h" 
PetscErrorCode LMEGetIterationNumber(LME lme,PetscInt *its)
Not Collective

Input Parameter

lme  - the linear matrix equation solver context

Output Parameter

its  - number of iterations


During the i-th iteration this call returns i-1. If LMESolve() is complete, then parameter "its" contains either the iteration number at which convergence was successfully reached, or failure was detected. Call LMEGetConvergedReason() to determine if the solver converged or failed and why.

See Also

LMEGetConvergedReason(), LMESetTolerances()

Location: src/lme/interface/lmesolve.c
Index of all LME routines
Table of Contents for all manual pages
Index of all manual pages