:orphan:
# PCFactorGetUseInPlace
Determines if an in-place factorization is being used.
## Synopsis
```
#include "petscpc.h"
PetscErrorCode PCFactorGetUseInPlace(PC pc, PetscBool *flg)
```
Logically Collective
## Input Parameter
- ***pc -*** the preconditioner context
## Output Parameter
- ***flg -*** `PETSC_TRUE` to enable, `PETSC_FALSE` to disable
## See Also
`PCLU`, `PCCHOLESKY`, `PCILU`, `PCICC`, `PCFactorSetUseInPlace()`
## Level
intermediate
## Location
src/ksp/pc/impls/factor/factor.c
## Implementations
PCFactorGetUseInPlace_Factor in src/ksp/pc/impls/factor/factor.c
---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ksp/pc/impls/factor/factor.c)
[Index of all PC routines](index.md)
[Table of Contents for all manual pages](/manualpages/index.md)
[Index of all manual pages](/manualpages/singleindex.md)