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

PEPConvergedReasonView

Displays the reason a PEP solve converged or diverged.

Synopsis

#include "slepcpep.h" 
#include "slepcbv.h" 
PetscErrorCode PEPConvergedReasonView(PEP pep,PetscViewer viewer)
Collective on pep

Input Parameters

pep  - the eigensolver context
viewer  - the viewer to display the reason

Options Database Keys

-pep_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 -pep_converged_reason ::failed

See Also

PEPSetConvergenceTest(), PEPSetTolerances(), PEPGetIterationNumber(), PEPConvergedReasonViewFromOptions()

Location: src/pep/interface/pepview.c

Examples

src/pep/tutorials/ex17.c.html
src/pep/tutorials/ex28.c.html
src/pep/tutorials/ex38.c.html
src/pep/tutorials/ex16f90.F90.html
src/pep/tutorials/nlevp/acoustic_wave_1d.c.html
src/pep/tutorials/nlevp/acoustic_wave_2d.c.html
src/pep/tutorials/nlevp/butterfly.c.html
src/pep/tutorials/nlevp/damped_beam.c.html
src/pep/tutorials/nlevp/pdde_stability.c.html
src/pep/tutorials/nlevp/planar_waveguide.c.html
src/pep/tutorials/nlevp/sleeper.c.html

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