petsc-3.11.4 2019-09-28
PCFieldSplitSetDetectSaddlePoint
Sets flag indicating whether PCFieldSplit will attempt to automatically determine fields based on zero diagonal entries.
Synopsis
#include "petscpc.h"
PetscErrorCode PCFieldSplitSetDetectSaddlePoint(PC pc,PetscBool flg)
Logically Collective
Notes
Also sets the split type to PC_COMPOSITE_SCHUR (see PCFieldSplitSetType()) and the Schur preconditioner type to PC_FIELDSPLIT_SCHUR_PRE_SELF (see PCFieldSplitSetSchurPre()).
Input Parameter
pc -the preconditioner context
Output Parameter
flg -boolean indicating whether to detect fields or not
Options Database Key
-pc_fieldsplit_detect_saddle_point -
See Also
PCFIELDSPLIT, PCFieldSplitSetDetectSaddlePoint(), PCFieldSplitSetType(), PCFieldSplitSetSchurPre()
Level
Intermediate
Location
src/ksp/pc/impls/fieldsplit/fieldsplit.c
Examples
src/dm/impls/stag/examples/tutorials/ex2.c.html
src/dm/impls/stag/examples/tutorials/ex3.c.html
Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages