int KSPFGMRESSetModifyPC(KSP ksp,int (*fcn)(KSP,int,int,PetscReal,void*),void* ctx,int (*d)(void*))Collective on KSP
ksp | - iterative context obtained from KSPCreate | |
fcn | - modifypc function | |
ctx | - optional contex | |
d | - optional context destroy routine |
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. ctx - optional context variable
Contributed by Allison Baker
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