slepc-3.15.2 2021-09-20
Report Typos and Errors


Gets the reason why the LMESolve() iteration was stopped.


#include "slepclme.h" 
PetscErrorCode LMEGetConvergedReason(LME lme,LMEConvergedReason *reason)
Not Collective

Input Parameter

lme  - the linear matrix equation solver context

Output Parameter

reason  - negative value indicates diverged, positive value converged


Possible values for reason are

LME_CONVERGED_TOL  - converged up to tolerance
LME_DIVERGED_ITS  - required more than max_it iterations to reach convergence
LME_DIVERGED_BREAKDOWN  - generic breakdown in method

Can only be called after the call to LMESolve() is complete.

See Also

LMESetTolerances(), LMESolve(), LMEConvergedReason, LMESetErrorIfNotConverged()

Location: src/lme/interface/lmesolve.c



Index of all LME routines
Table of Contents for all manual pages
Index of all manual pages