#include "slepcmfn.h" PetscErrorCode MFNGetConvergedReason(MFN mfn,MFNConvergedReason *reason)Not Collective
mfn | - the matrix function context |
reason | - negative value indicates diverged, positive value converged |
MFN_CONVERGED_TOL | - converged up to tolerance | |
MFN_CONVERGED_ITS | - solver completed the requested number of steps | |
MFN_DIVERGED_ITS | - required more than max_it iterations to reach convergence | |
MFN_DIVERGED_BREAKDOWN | - generic breakdown in method |
Basic solvers (e.g. unrestarted Krylov iterations) cannot determine if the computation is accurate up to the requested tolerance. In that case, the converged reason is set to MFN_CONVERGED_ITS if the requested number of steps (for instance, the ncv value in unrestarted Krylov methods) have been completed successfully.
Location: src/mfn/interface/mfnsolve.c
Index of all MFN routines
Table of Contents for all manual pages
Index of all manual pages