PCAIRSetLairDistance#

Sets the distance of the grid-transfer operators used by PCAIR when the PCAIRZType is AIR_Z_LAIR or AIR_Z_LAIR_SAI

Synopsis#

PETSC_EXTERN PetscErrorCode PCAIRSetLairDistance(PC pc, PetscInt input_int)

Logically Collective

Input Parameters#

  • pc - the PCAIR preconditioner context

  • input_int - the lAIR distance

Options Database Key#

  • -pc_air_lair_distance lair_distance - if the Z type is lair or lair_sai, the distance of the grid-transfer operators; defaults to 2

Note#

This allows lAIR to be computed out to a given distance while using a different sparsity for the smoothers. If the PCAIRZType is AIR_Z_PRODUCT this option is ignored, and the distance is instead determined by -pc_air_inverse_sparsity_order + 1.

See Also#

KSP: Linear System Solvers, PCAIR, PCAIRGetLairDistance(), PCAIRZType, PCAIRSetZType(), PCAIRSetInverseType(), PCAIRSetInverseSparsityOrder()

Level#

intermediate

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