petsc-3.13.6 2020-09-29
Report Typos and Errors

KSPReasonView

Displays the reason a KSP solve converged or diverged to a viewer

Synopsis

#include "petscksp.h" 
PetscErrorCode KSPReasonView(KSP ksp,PetscViewer viewer)
Collective on ksp

Parameter

ksp - iterative context obtained from KSPCreate()
viewer - the viewer to display the reason

Options Database Keys

-ksp_converged_reason -print reason for converged or diverged, also prints number of iterations

See Also

KSPCreate(), KSPSetUp(), KSPDestroy(), KSPSetTolerances(), KSPConvergedDefault(),
KSPSolveTranspose(), KSPGetIterationNumber(), KSP

Level

beginner

Location

src/ksp/ksp/interface/itfunc.c
Index of all KSP routines
Table of Contents for all manual pages
Index of all manual pages