PCPFLAREINVGetInverseMat#
Returns the underlying matrix that represents the PCPFLAREINV approximate inverse
Synopsis#
PetscErrorCode PCPFLAREINVGetInverseMat(PC pc, Mat *mat)
Not Collective
Input Parameter#
pc - the
PCPFLAREINVpreconditioner context
Output Parameter#
mat - the approximate inverse matrix, either an assembled matrix (for example
MATAIJorMATDIAGONAL) or a matrix-freeMATSHELL, depending on the inverse type and the matrix-free setting
Note#
This is a borrowed reference into the PCPFLAREINV object - do not destroy it. It is only valid until the
next PCSetUp(), PCReset(), or PCDestroy() (a re-setup with a different nonzero pattern rebuilds it), and
is NULL before PCSetUp() (or KSPSetUp()) has been called.
See Also#
KSP: Linear System Solvers, PCPFLAREINV, PCPFLAREINVSetMatrixFree(), PCPFLAREINVGetType(), PCSetUp()
Level#
advanced
Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages