PCPFLAREINVSetSparsityOrder#
Sets the sparsity order used when PCPFLAREINV assembles its approximate inverse
Synopsis#
PetscErrorCode PCPFLAREINVSetSparsityOrder(PC pc, PetscInt inverse_sparsity_order)
Logically Collective
Input Parameters#
pc - the
PCPFLAREINVpreconditioner contextinverse_sparsity_order - the power of the input matrix used as the sparsity pattern of the assembled inverse
Options Database Key#
-pc_pflareinv_sparsity_order inverse_sparsity_order - power of the input matrix used as the sparsity pattern in assembled inverses; defaults to 1
Note#
The assembled approximate inverse uses this power of the input matrix as its nonzero pattern, so a larger value
gives a denser and typically more accurate inverse at higher setup and apply cost. It has no effect when the
inverse is applied matrix-free (see PCPFLAREINVSetMatrixFree()).
See Also#
KSP: Linear System Solvers, PCPFLAREINV, PCPFLAREINVGetSparsityOrder(), PCPFLAREINVSetMatrixFree()
Level#
advanced
Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages