:orphan: # KSPResetViewers Resets all the viewers set from the options database during `KSPSetFromOptions()` ## Synopsis ``` #include "petscksp.h" #include "petscmat.h" PetscErrorCode KSPResetViewers(KSP ksp) ``` Collective ## Input Parameter - ***ksp -*** iterative context obtained from `KSPCreate()` ## See Also [](ch_ksp), `KSPCreate()`, `KSPSetUp()`, `KSPSolve()`, `KSPSetFromOptions()`, `KSP` ## Level beginner ## Location src/ksp/ksp/interface/itfunc.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ksp/ksp/interface/itfunc.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)