petsc-3.7.1 2016-05-15
Report Typos and Errors

KSPGMRESSetHapTol

Sets tolerance for determining happy breakdown in GMRES, FGMRES and LGMRES.

Synopsis

#include "petscksp.h"  
PetscErrorCode  KSPGMRESSetHapTol(KSP ksp,PetscReal tol)
Logically Collective on KSP Many br

Input Parameters

ksp - the Krylov space context Many br
tol - the tolerance Many br

Options Database

-ksp_gmres_haptol <positive real value> - Many brNote: Happy breakdown is the rare case in GMRES where an 'exact' solution is obtained after Many bra certain number of iterations. If you attempt more iterations after this point unstable Many brthings can happen hence very occasionally you may need to set this value to detect this condition Many br

Many br

Keywords

KSP, GMRES, tolerance

See Also

KSPSetTolerances()

Level:intermediate
Location:
src/ksp/ksp/impls/gmres/gmres.c
Index of all KSP routines
Table of Contents for all manual pages
Index of all manual pages