PCPFLAREINVGetPolyCoeffs#
Returns the polynomial coefficients stored by PCPFLAREINV after the last PCSetUp()
Synopsis#
PetscErrorCode PCPFLAREINVGetPolyCoeffs(PC pc, PetscReal **coeffs, PetscInt *rows, PetscInt *cols)
Not Collective
Input Parameter#
pc - the
PCPFLAREINVpreconditioner context
Output Parameters#
coeffs - pointer to the column-major array of polynomial coefficients
rows - the number of rows, equal to the polynomial order plus one
cols - the number of columns, 1 for the power, Arnoldi, and Neumann inverse types, or 2 for the Newton types
Note#
This routine returns a pointer into the PCPFLAREINV 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, PCPFLAREINV, PCPFLAREINVSetPolyCoeffs(), PCPFLAREINVGetReusePolyCoeffs(), PCSetUp()
Level#
advanced
Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages