:orphan: # PCJacobiType What elements of the matrix are used to form the Jacobi preconditioner ## Synopsis ``` typedef enum { PC_JACOBI_DIAGONAL, PC_JACOBI_ROWMAX, PC_JACOBI_ROWSUM } PCJacobiType; ``` ## Values - ***`PC_JACOBI_DIAGONAL` -*** use the diagonal entry, if it is zero use one - ***`PC_JACOBI_ROWMAX` -*** use the maximum absolute value in the row - ***`PC_JACOBI_ROWSUM` -*** use the sum of the values in the row (not the absolute values) ## See Also [](sec_pc), `PCJACOBI`, `PC` ## Level intermediate ## Location include/petscpctypes.h --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/include/petscpctypes.h) [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)