#include "slepcnep.h" PetscErrorCode NEPGetConvergedReason(NEP nep,NEPConvergedReason *reason)Not Collective
nep | - the nonlinear eigensolver context |
reason | - negative value indicates diverged, positive value converged |
-nep_converged_reason | - print the reason to a viewer |
NEP_CONVERGED_TOL | - converged up to tolerance | |
NEP_CONVERGED_USER | - converged due to a user-defined condition | |
NEP_DIVERGED_ITS | - required more than max_it iterations to reach convergence | |
NEP_DIVERGED_BREAKDOWN | - generic breakdown in method | |
NEP_DIVERGED_LINEAR_SOLVE | - inner linear solve failed | |
NEP_DIVERGED_SUBSPACE_EXHAUSTED | - run out of space for the basis in an unrestarted solver |
Can only be called after the call to NEPSolve() is complete.