# 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
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/pc/impls/factor/factor.c.html#PCFactorGetUseInPlace">src/ksp/pc/impls/factor/factor.c</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/pc/impls/factor/factor.c.html#PCFactorGetUseInPlace_Factor">PCFactorGetUseInPlace_Factor in src/ksp/pc/impls/factor/factor.c</A><BR>


---
[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](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
