PCAIRSetConstrainZ#

Sets whether PCAIR applies constraints to the restrictor

Synopsis#

PETSC_EXTERN PetscErrorCode PCAIRSetConstrainZ(PC pc, PetscBool input_bool)

Logically Collective

Input Parameters#

  • pc - the PCAIR preconditioner context

  • input_bool - PETSC_TRUE to apply constraints to the restrictor

Options Database Key#

  • -pc_air_constrain_z (true|false) - apply constraints to the restrictor; defaults to false

Note#

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

See Also#

KSP: Linear System Solvers, PCAIR, PCAIRGetConstrainZ(), PCAIRSetConstrainW(), MatSetNearNullSpace()

Level#

advanced

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