:orphan: # KSPFGMRESModifyPCNoChange this is the default used by `KSPFMGMRES` - it doesn't change the preconditioner. [](sec_flexibleksp) ## Synopsis ``` #include "petscksp.h" PetscErrorCode KSPFGMRESModifyPCNoChange(KSP ksp, PetscInt total_its, PetscInt loc_its, PetscReal res_norm, void *dummy) ``` ## Input Parameters - ***ksp -*** the ksp context being used. - ***total_its -*** the total number of `KSPFGMRES` iterations that have occurred. - ***loc_its -*** the number of `KSPFGMRES` iterations since last restart. a restart (so number of Krylov directions to be computed) - ***res_norm -*** the current residual norm. - ***dummy -*** context variable, unused in this routine ## See Also [](ch_ksp), [](sec_flexibleksp), `KSPFGMRES`, `KSPFGMRESSetModifyPC()`, `KSPFGMRESModifyPCKSP()` ## Level intermediate ## Location src/ksp/ksp/impls/gmres/fgmres/modpcf.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ksp/ksp/impls/gmres/fgmres/modpcf.c) [Index of all KSP routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)