Jacobi (i.e. diagonal scaling preconditioning)

Options Database Key

-pc_jacobi_type <diagonal,rowmax,rowsum> - approach for forming the preconditioner
-pc_jacobi_abs - use the absolute value of the diagonal entry

Level: beginner


By using KSPSetPCSide(ksp,PC_SYMMETRIC) or -ksp_pc_side symmetric can scale each side of the matrix by the square root of the diagonal entries.

Zero entries along the diagonal are replaced with the value 1.0

See PCPBJACOBI for a point-block Jacobi preconditioner

See Also

PCCreate(), PCSetType(), PCType (for list of available types), PC,
PCJacobiSetType(), PCJacobiSetUseAbs(), PCJacobiGetUseAbs(), PCPBJACOBI