:orphan:
# PCFactorGetLevels
Gets the number of levels of fill to use. 
## Synopsis
```
#include "petscpc.h" 
PetscErrorCode PCFactorGetLevels(PC pc, PetscInt *levels)
```
Logically Collective


## Input Parameter

- ***pc -*** the preconditioner context



## Output Parameter

- ***levels -*** number of levels of fill





## See Also
 `PCILU`, `PCICC`, `PCFactorSetLevels()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/pc/impls/factor/factor.c.html#PCFactorGetLevels">src/ksp/pc/impls/factor/factor.c</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/pc/impls/factor/factimpl.c.html#PCFactorGetLevels_Factor">PCFactorGetLevels_Factor in src/ksp/pc/impls/factor/factimpl.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](/manualpages/index.md)  
[Index of all manual pages](/manualpages/singleindex.md)  
