PCFieldSplitGetSchurPre#
For Schur complement fieldsplit, determine how the Schur complement will be preconditioned. See PCFieldSplitSetSchurPre()
for details.
Synopsis#
#include "petscpc.h"
PetscErrorCode PCFieldSplitGetSchurPre(PC pc, PCFieldSplitSchurPreType *ptype, Mat *pre)
Logically Collective
Input Parameter#
pc - the preconditioner context
Output Parameters#
ptype - which matrix to use for preconditioning the Schur complement:
PC_FIELDSPLIT_SCHUR_PRE_A11
,PC_FIELDSPLIT_SCHUR_PRE_SELF
,PC_FIELDSPLIT_SCHUR_PRE_USER
pre - matrix to use for preconditioning (with
PC_FIELDSPLIT_SCHUR_PRE_USER
), orNULL
See Also#
Solving Block Matrices with PCFIELDSPLIT, PC
, PCFieldSplitSetSchurPre()
, PCFieldSplitGetSubKSP()
, PCFIELDSPLIT
, PCFieldSplitSetFields()
, PCFieldSplitSchurPreType
, PCLSC
Level#
intermediate
Location#
Implementations#
PCFieldSplitGetSchurPre_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