PCPFLAREINVSetMatrixFree#

Controls whether PCPFLAREINV applies its approximate inverse matrix-free

Synopsis#

Logically Collective

Input Parameters#

  • pc - the PCPFLAREINV preconditioner context

  • flg - PETSC_TRUE to apply the approximate inverse matrix-free instead of assembling it

Options Database Key#

  • -pc_pflareinv_matrix_free (true|false) - apply the approximate inverse matrix-free instead of assembling it; defaults to false

Note#

When matrix-free the approximate inverse is applied as a sequence of matrix-vector products with the input matrix rather than as a single assembled matrix, avoiding the memory and setup cost of assembling it but making each apply more expensive. Typically the assembled matrix has a fixed sparsity pattern (which is an approximation) so applying matrix-free gives a more accurate inverse. The sai and isai types cannot be applied matrix-free.

See Also#

KSP: Linear System Solvers, PCPFLAREINV, PCPFLAREINVGetMatrixFree(), PCPFLAREINVGetInverseMat()

Level#

advanced

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