:orphan:
# PCFactorSetZeroPivot
Sets the size at which smaller pivots are declared to be zero 
## Synopsis
```
#include "petscpc.h" 
PetscErrorCode PCFactorSetZeroPivot(PC pc, PetscReal zero)
```
Logically Collective


## Input Parameters

- ***pc -*** the preconditioner context
- ***zero -*** all pivots smaller than this will be considered zero



## Options Database Key

- ***-pc_factor_zeropivot <zero> -*** Sets tolerance for what is considered a zero pivot





## See Also
 `PCCHOLESKY`, `PCLU`, `PCFactorSetShiftType()`, `PCFactorSetShiftAmount()`

## Level
intermediate

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

## Implementations

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