PCAIRGetPolyCoeffs#
Returns the polynomial coefficients stored by PCAIR for a given level and inverse after the last PCSetUp()
Synopsis#
PETSC_EXTERN PetscErrorCode PCAIRGetPolyCoeffs(PC pc, PetscInt petsc_level, int which_inverse, PetscReal **coeffs_ptr, PetscInt *row_size, PetscInt *col_size)
Not Collective
Input Parameters#
pc - the
PCAIRpreconditioner contextpetsc_level - the level in the hierarchy
which_inverse - which inverse’s coefficients to return, one of
COEFFS_INV_AFF,COEFFS_INV_AFF_DROPPED,COEFFS_INV_ACC, orCOEFFS_INV_COARSE
Output Parameters#
coeffs_ptr - pointer to the array of polynomial coefficients
row_size - the number of rows in the coefficient array
col_size - the number of columns in the coefficient array
Note#
This routine returns a pointer into the PCAIR object itself, valid only until the next PCSetUp() or
PCReset() call; copy the coefficients yourself if you need to save or restore them later. This differs from
the Fortran interface to this routine, which returns a copy in an allocatable array that knows its own size.
See Also#
KSP: Linear System Solvers, PCAIR, PCAIRSetPolyCoeffs(), PCAIRGetReusePolyCoeffs(), WhichInverseType, PCSetUp()
Level#
advanced
Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages