KSPFGMRESModifyPCKSP#
modifies the attributes of the KSPFGMRES
preconditioner. Flexible Krylov Methods. It serves as an example (not as something useful in practice)
Synopsis#
#include "petscksp.h"
PetscErrorCode KSPFGMRESModifyPCKSP(KSP ksp, PetscInt total_its, PetscInt loc_its, PetscReal res_norm, void *dummy)
Input Parameters#
Note#
You can use this as a template for writing a custom monification callback
See Also#
KSP: Linear System Solvers, Flexible Krylov Methods, KSPFGMRES
, KSPFGMRESSetModifyPC()
, KSPFGMRESModifyPCKSP()
Level#
intermediate
Location#
src/ksp/ksp/impls/gmres/fgmres/modpcf.c
Index of all KSP routines
Table of Contents for all manual pages
Index of all manual pages