PCPFLAREINVSetPolyCoeffs#
Sets (copies in) the polynomial coefficients used by PCPFLAREINV
Synopsis#
PetscErrorCode PCPFLAREINVSetPolyCoeffs(PC pc, PetscReal *coeffs, PetscInt rows, PetscInt cols)
Logically Collective
Input Parameters#
pc - the
PCPFLAREINVpreconditioner contextcoeffs - 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 copies the data from coeffs into the PCPFLAREINV object; the caller’s array is not referenced
after this call and may be freed or modified. It does not itself trigger a rebuild of the approximate inverse -
combine with PCPFLAREINVSetReusePolyCoeffs() to have the next PCSetUp() reuse these coefficients.
See Also#
KSP: Linear System Solvers, PCPFLAREINV, PCPFLAREINVGetPolyCoeffs(), PCPFLAREINVSetReusePolyCoeffs()
Level#
advanced
Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages