:orphan: # PCJacobiGetType Gets how the diagonal matrix is produced for the preconditioner ## Synopsis ``` #include "petscpc.h" PetscErrorCode PCJacobiGetType(PC pc, PCJacobiType *type) ``` Not Collective ## Input Parameter - ***pc -*** the preconditioner context ## Output Parameter - ***type -*** `PC_JACOBI_DIAGONAL`, `PC_JACOBI_ROWMAX`, `PC_JACOBI_ROWSUM` ## See Also `PCJACOBI`, `PCJacobiaUseAbs()`, `PCJacobiSetType()` ## Level intermediate ## Location src/ksp/pc/impls/jacobi/jacobi.c ## Implementations PCJacobiGetType_Jacobi in src/ksp/pc/impls/jacobi/jacobi.c
--- [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](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)