petsc-master 2017-01-19
Report Typos and Errors


Build a preconditioner by composing together several preconditioners

Options Database Keys

-pc_composite_type <type: one of multiplicative, additive, symmetric_multiplicative, special> - Sets composite preconditioner type
-pc_use_amat - Activates PCSetUseAmat()
-pc_composite_pcs - <pc0,pc1,...> list of PCs to compose

Notes: To use a Krylov method inside the composite preconditioner, set the PCType of one or more inner PCs to be PCKSP. Using a Krylov method inside another Krylov method can be dangerous (you get divergence or the incorrect answer) unless you use KSPFGMRES as the outer Krylov method

See Also

PCCreate(), PCSetType(), PCType (for list of available types), PC,
PCSHELL, PCKSP, PCCompositeSetType(), PCCompositeSpecialSetAlpha(), PCCompositeAddPC(), PCCompositeGetPC(), PCSetUseAmat()

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