:orphan:
# KSPGetReusePreconditioner
Determines if the `KSP` reuses the current preconditioner even if the operator in the preconditioner has changed. 
## Synopsis
```
#include "petscksp.h" 
#include "petscmat.h" 
PetscErrorCode KSPGetReusePreconditioner(KSP ksp, PetscBool *flag)
```
Collective


## Input Parameter

- ***ksp   -*** iterative context obtained from `KSPCreate()`



## Output Parameter

- ***flag -*** the boolean flag





## See Also
 [](ch_ksp), `KSPCreate()`, `KSPSolve()`, `KSPDestroy()`, `KSPSetReusePreconditioner()`, `KSP`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/ksp/interface/itfunc.c.html#KSPGetReusePreconditioner">src/ksp/ksp/interface/itfunc.c</A>


---
[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)  
