PCPFLAREINVSetType#
Sets the type of approximate inverse applied by PCPFLAREINV
Synopsis#
PetscErrorCode PCPFLAREINVSetType(PC pc, PCPFLAREINVType inverse_type)
Logically Collective
Input Parameters#
pc - the
PCPFLAREINVpreconditioner contextinverse_type - the approximate inverse type, one of the
PCPFLAREINVTypevalues
Options Database Key#
-pc_pflareinv_type (power|arnoldi|newton|newton_no_extra|neumann|sai|isai|wjacobi|jacobi) - the approximate inverse type; defaults to arnoldi
Note#
The polynomial types (power, arnoldi, newton, newton_no_extra, neumann) approximate the inverse with a
polynomial in the matrix whose degree is set by PCPFLAREINVSetPolyOrder(). The sai and isai types instead
assemble a sparse approximate inverse whose pattern is controlled by PCPFLAREINVSetSparsityOrder(), while
wjacobi and jacobi are cheap diagonal inverses.
See Also#
KSP: Linear System Solvers, PCPFLAREINV, PCPFLAREINVGetType(), PCPFLAREINVType, PCPFLAREINVSetPolyOrder()
Level#
intermediate
Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages