KSPFGMRESModifyPCSLES

modifies the attributes of the GMRES preconditioner. It serves as an example (not as something useful!)

Synopsis

int KSPFGMRESModifyPCSLES(KSP ksp,int total_its,int loc_its,PetscReal res_norm,void *dummy)

Input Parameters

ksp - the ksp context being used.
total_its - the total number of FGMRES iterations that have occurred.
loc_its - the number of FGMRES iterations since last restart.
res_norm - the current residual norm.
dummy - context, not used here

Contributed by Allison Baker

This could be used as a template!

See Also

KSPFGMRESSetModifyPC(), KSPFGMRESModifyPCSLES()

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