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
,PC_COMPOSITE_GKB
Options Database Key#
-pc_fieldsplit_type <one of multiplicative, additive, symmetric_multiplicative, special, schur> - Sets fieldsplit preconditioner type
See Also#
Solving Block Matrices with PCFIELDSPLIT, PC
, PCFIELDSPLIT
, PCCompositeType
, PCCompositeGetType()
, PC_COMPOSITE_ADDITIVE
, PC_COMPOSITE_MULTIPLICATIVE
,
PC_COMPOSITE_SYMMETRIC_MULTIPLICATIVE
, PC_COMPOSITE_SPECIAL
, PC_COMPOSITE_SCHUR
, PCFieldSplitSetSchurFactType()
Level#
intermediate
Location#
Examples#
src/ksp/ksp/tutorials/ex87.c
src/dm/impls/stag/tutorials/ex4.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