:orphan: # KSPResetFromOptions Sets `KSP` parameters from user options ONLY if the `KSP` was previously set from options ## Synopsis ``` #include "petscksp.h" PetscErrorCode KSPResetFromOptions(KSP ksp) ``` Collective ## Input Parameter - ***ksp -*** the `KSP` context ## See Also [](ch_ksp), `KSPSetFromOptions()`, `KSPSetOptionsPrefix()` ## Level advanced ## Location src/ksp/ksp/interface/itcl.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ksp/ksp/interface/itcl.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)