PCAIRSetConstrainW#

Sets whether PCAIR applies constraints to the prolongator

Synopsis#

PETSC_EXTERN PetscErrorCode PCAIRSetConstrainW(PC pc, PetscBool input_bool)

Logically Collective

Input Parameters#

  • pc - the PCAIR preconditioner context

  • input_bool - PETSC_TRUE to apply constraints to the prolongator

Options Database Key#

  • -pc_air_constrain_w (true|false) - apply constraints to the prolongator; defaults to false

Note#

By default this smooths the constant vector and forces the prolongator to interpolate it exactly. Use MatSetNearNullSpace() on the operator matrix to supply other vectors to constrain instead.

See Also#

KSP: Linear System Solvers, PCAIR, PCAIRGetConstrainW(), PCAIRSetConstrainZ(), MatSetNearNullSpace()

Level#

advanced

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