PCSetUpOnBlocks#

Sets up the preconditioner for each block in the block Jacobi, block Gauss-Seidel, and overlapping Schwarz methods.

Synopsis#

#include "petscksp.h" 
PetscErrorCode PCSetUpOnBlocks(PC pc)

Collective

Input Parameter#

  • pc - the preconditioner context

Note#

For nested preconditioners such as PCBJACOBI PCSetUp() is not called on each sub-KSP when PCSetUp() is called on the outer PC, this routine ensures it is called.

See Also#

KSP: Linear System Solvers, PC, PCSetUp(), PCCreate(), PCApply(), PCDestroy()

Level#

developer

Location#

src/ksp/pc/interface/precon.c

Implementations#

PCSetUpOnBlocks_ASM() in src/ksp/pc/impls/asm/asm.c
PCSetUpOnBlocks_Composite() in src/ksp/pc/impls/composite/composite.c
PCSetUpOnBlocks_GASM() in src/ksp/pc/impls/gasm/gasm.c
PCSetUpOnBlocks_PATCH() in src/ksp/pc/impls/patch/pcpatch.c


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