LMEGetIterationNumber#
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.
Synopsis#
#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
Note#
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#
LME: Linear Matrix Equation, LMEGetConvergedReason(), LMESetTolerances()
Level#
intermediate
Location#
Examples#
Index of all LME routines Table of Contents for all manual pages Index of all manual pages