PCGASMSetType#
Sets the type of restriction and interpolation used for local problems in the PCGASM
additive Schwarz method.
Synopsis#
#include "petscpc.h"
PetscErrorCode PCGASMSetType(PC pc, PCGASMType type)
Logically Collective
Input Parameters#
pc - the preconditioner context
type - variant of
PCGASM
, one of
`PC_GASM_BASIC` - full interpolation and restriction
`PC_GASM_RESTRICT` - full restriction, local MPI process interpolation
`PC_GASM_INTERPOLATE` - full interpolation, local MPI process restriction
`PC_GASM_NONE` - local MPI process restriction and interpolation
Options Database Key#
-pc_gasm_type [basic,restrict,interpolate,none] - Sets
PCGASM
type
See Also#
KSP: Linear System Solvers, PCGASM
, PCGASMSetSubdomains()
, PCGASMGetSubKSP()
,
PCGASMCreateSubdomains2D()
, PCASM
, PCASMSetType()
Level#
intermediate
Location#
Implementations#
PCGASMSetType_GASM() in src/ksp/pc/impls/gasm/gasm.c
Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages