PCAIRSetPolyCoeffs#

Sets (copies in) the polynomial coefficients used by PCAIR for a given level and inverse

Synopsis#

PETSC_EXTERN PetscErrorCode PCAIRSetPolyCoeffs(PC pc, PetscInt petsc_level, int which_inverse, PetscReal *coeffs_ptr, PetscInt row_size, PetscInt col_size)

Logically Collective

Input Parameters#

  • pc - the PCAIR preconditioner context

  • petsc_level - the level in the hierarchy

  • which_inverse - which inverse’s coefficients to set, one of COEFFS_INV_AFF, COEFFS_INV_AFF_DROPPED, COEFFS_INV_ACC, or COEFFS_INV_COARSE

  • coeffs_ptr - the array of polynomial coefficients to copy in

  • row_size - the number of rows in coeffs_ptr

  • col_size - the number of columns in coeffs_ptr

Note#

This routine copies the data from coeffs_ptr into the PCAIR object; the caller’s array is not referenced after this call and may be freed or modified.

See Also#

KSP: Linear System Solvers, PCAIR, PCAIRGetPolyCoeffs(), PCAIRSetReusePolyCoeffs(), WhichInverseType

Level#

advanced

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