PCFieldSplitSetType#
Sets the type, PCCompositeType
, of a PCFIELDSPLIT
Synopsis#
#include "petscpc.h"
PetscErrorCode PCFieldSplitSetType(PC pc, PCCompositeType type)
Collective
Input Parameters#
pc - the preconditioner context
type -
PC_COMPOSITE_ADDITIVE
,PC_COMPOSITE_MULTIPLICATIVE
(default),PC_COMPOSITE_SYMMETRIC_MULTIPLICATIVE
,PC_COMPOSITE_SPECIAL
,PC_COMPOSITE_SCHUR
Options Database Key#
-pc_fieldsplit_type <one of multiplicative, additive, symmetric_multiplicative, special, schur> - Sets fieldsplit preconditioner type
See Also#
Solving Block Matrices, PC
, PCFIELDSPLIT
, PCCompositeType
, PCCompositeGetType()
, PC_COMPOSITE_ADDITIVE
, PC_COMPOSITE_MULTIPLICATIVE
,
PC_COMPOSITE_SYMMETRIC_MULTIPLICATIVE
, PC_COMPOSITE_SPECIAL
, PC_COMPOSITE_SCHUR
Level#
intermediate
Location#
Examples#
src/dm/impls/stag/tutorials/ex4.c
src/ksp/ksp/tutorials/ex87.c
Implementations#
PCFieldSplitSetType_FieldSplit() in src/ksp/pc/impls/fieldsplit/fieldsplit.c
Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages