PCPFLAREINVSetPolyOrder#
Sets the polynomial order used by PCPFLAREINV
Synopsis#
PetscErrorCode PCPFLAREINVSetPolyOrder(PC pc, PetscInt poly_order)
Logically Collective
Input Parameters#
pc - the
PCPFLAREINVpreconditioner contextpoly_order - the polynomial order
Options Database Key#
-pc_pflareinv_poly_order poly_order - the polynomial order if using a polynomial inverse type; defaults to 6
Note#
This only affects the polynomial inverse types selected with PCPFLAREINVSetType() (for example power,
arnoldi, newton or neumann); a higher order gives a more accurate inverse, and hence a better
preconditioner, at the cost of more matrix-vector products in each apply. It is ignored by the non-polynomial
types such as sai, isai and jacobi.
See Also#
KSP: Linear System Solvers, PCPFLAREINV, PCPFLAREINVGetPolyOrder(), PCPFLAREINVSetType()
Level#
intermediate
Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages