slepc-3.18.2 2023-01-26
Report Typos and Errors

# SVDConvergedReasonView

Displays the reason an SVD solve converged or diverged.

### Synopsis

    #include "slepcsvd.h"
    PetscErrorCode SVDConvergedReasonView(SVD svd,PetscViewer viewer)

Collective on svd

### Input Parameters

| svd | - the singular value solver context
| viewer | - the viewer to display the reason

### Options Database Keys

| -svd_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 -svd_converged_reason ::failed

### See Also

SVDSetTolerances(), SVDGetIterationNumber(), SVDConvergedReasonViewFromOptions()

### Level

intermediate

### Location

src/svd/interface/svdview.c

### Examples

src/svd/tutorials/ex14.c.html
src/svd/tutorials/ex48.c.html
src/svd/tutorials/ex51.c.html
src/svd/tutorials/ex52.c.html
Index of all SVD routines
Table of Contents for all manual pages
Index of all manual pages