slepc-3.16.1 2021-11-17
Report Typos and Errors


Causes LMESolve() to generate an error if the solver has not converged.


#include "slepclme.h" 
PetscErrorCode LMESetErrorIfNotConverged(LME lme,PetscBool flg)
Logically Collective on lme

Input Parameters

lme  - the linear matrix equation solver context
flg  - PETSC_TRUE indicates you want the error generated

Options Database Keys

-lme_error_if_not_converged  - this takes an optional truth value (0/1/no/yes/true/false)


Normally SLEPc continues if the solver fails to converge, you can call LMEGetConvergedReason() after a LMESolve() to determine if it has converged.

See Also


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