PCEisenstatGetNoDiagonalScaling#

Tells if the Eisenstat preconditioner not to do additional diagonal preconditioning. For matrices with a constant along the diagonal, this may save a small amount of work.

Synopsis#

Logically Collective

Input Parameter#

  • pc - the preconditioner context

Output Parameter#

  • flg - PETSC_TRUE means there is no diagonal scaling applied

Options Database Key#

Note#

If you use the KSPSetDiagonalScaling() or -ksp_diagonal_scale option then you will likely want to use this routine since it will save you some unneeded flops.

See Also#

, PCEISENSTAT, PCEisenstatGetOmega()

Level#

intermediate

Location#

src/ksp/pc/impls/eisens/eisen.c

Implementations#

PCEisenstatGetNoDiagonalScaling_Eisenstat() in src/ksp/pc/impls/eisens/eisen.c


Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages