EPSConvergedReasonView#
Displays the reason an EPS solve converged or diverged.
Synopsis#
#include "slepceps.h"
PetscErrorCode EPSConvergedReasonView(EPS eps,PetscViewer viewer)
Collective
Input Parameters#
eps - the eigensolver context
viewer - the viewer to display the reason
Options Database Keys#
-eps_converged_reason - print reason for convergence, and number of iterations
Note#
To change the format of the output call PetscViewerPushFormat(viewer,format) before this call. Use PETSC_VIEWER_DEFAULT for the default, use PETSC_VIEWER_FAILED to only display a reason if it fails. The latter can be set in the command line with -eps_converged_reason ::failed
See Also#
EPSSetConvergenceTest(), EPSSetTolerances(), EPSGetIterationNumber(), EPSConvergedReasonViewFromOptions()
Level#
intermediate
Location#
Examples#
src/eps/tutorials/ex56.c
src/eps/tutorials/ex46.c
src/eps/tutorials/ex18.c
src/eps/tutorials/ex3.c
src/eps/tutorials/ex30.c
src/eps/tutorials/ex11.c
src/eps/tutorials/ex55.c
src/eps/tutorials/ex29.c
src/eps/tutorials/ex5.c
src/eps/tutorials/ex2.c
Index of all EPS routines Table of Contents for all manual pages Index of all manual pages