PCAIRSetDiagScalePolys#
Sets whether PCAIR diagonally scales before computing a polynomial approximate inverse
Synopsis#
PETSC_EXTERN PetscErrorCode PCAIRSetDiagScalePolys(PC pc, PetscBool input_bool)
Logically Collective
Input Parameters#
pc - the
PCAIRpreconditioner contextinput_bool -
PETSC_TRUEto diagonally scale before computing a polynomial inverse
Options Database Key#
-pc_air_diag_scale_polys (true|false) - diagonally scale before computing a polynomial inverse; defaults to false
Note#
Only relevant if using a polynomial inverse type (see PCAIRSetInverseType()); if the inverse type is
PFLAREINV_NEUMANN this is always forced true and cannot be overridden. This parameter can be important
if the underlying matrix is poorly scaled, as it can improve the accuracy of the polynomial inverse
and hence convergence. See also the equivalent for the coarse grid matrix, PCAIRSetCoarsestDiagScalePolys().
See Also#
KSP: Linear System Solvers, PCAIR, PCAIRGetDiagScalePolys(), PCAIRSetInverseType(), PCAIRSetMatrixFreePolys()
Level#
advanced
Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages