# PCJacobiGetUseAbs
Determines if the Jacobi preconditioner `PCJACOBI` uses the absolute values of the diagonal divisors in the preconditioner 
## Synopsis
```
#include "petscpc.h" 
PetscErrorCode PCJacobiGetUseAbs(PC pc, PetscBool *flg)
```
Logically Collective on pc


## Input Parameter

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



## Output Parameter

- ***flg -*** whether to use absolute values or not





## See Also
 `PCJACOBI`, `PCJacobiaSetType()`, `PCJacobiSetUseAbs()`, `PCJacobiGetType()`

## Level
intermediate

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

## Implementations

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


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ksp/pc/impls/jacobi/jacobi.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)  
