PCAIRSetMatrixFreePolys#

Sets whether PCAIR applies polynomial smoothers matrix-free where possible

Synopsis#

PETSC_EXTERN PetscErrorCode PCAIRSetMatrixFreePolys(PC pc, PetscBool input_bool)

Logically Collective

Input Parameters#

  • pc - the PCAIR preconditioner context

  • input_bool - PETSC_TRUE to apply polynomial smoothers matrix-free where possible

Options Database Key#

  • -pc_air_matrix_free_polys (true|false) - apply polynomial smoothers matrix-free where possible; defaults to false

Note#

When enabled, polynomial F/C-point smooths are applied as a sequence of matrix-vector products rather than by assembling the approximate inverse, saving memory but making each smooth more expensive. This only has an effect for the polynomial inverse types (see PCAIRSetInverseType()).

See Also#

KSP: Linear System Solvers, PCAIR, PCAIRGetMatrixFreePolys(), PCAIRSetInverseType(), PCAIRSetDiagScalePolys()

Level#

advanced

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