PCGASMSetLocalSubdomains

Sets the local subdomains (for this processor only) for the additive Schwarz preconditioner.

Synopsis

#include "petscpc.h" 
PetscErrorCode  PCGASMSetLocalSubdomains(PC pc,PetscInt n,IS is[],IS is_local[])
Collective on PC

Input Parameters

pc - the preconditioner context
n - the number of subdomains for this processor (default value = 1)
is - the index set that defines the subdomains for this processor (or PETSC_NULL for PETSc to determine subdomains)
is_local - the index sets that define the local part of the subdomains for this processor (or PETSC_NULL to use the default of 1 subdomain per process)

Notes

The IS numbering is in the parallel, global numbering of the vector.

By default the GASM preconditioner uses 1 block per processor.

Use PCGASMSetTotalSubdomains() to set the subdomains for all processors.

Keywords

PC, GASM, set, local, subdomains, additive Schwarz

See Also

PCGASMSetTotalSubdomains(), PCGASMSetOverlap(), PCGASMGetSubKSP(),
PCGASMCreateSubdomains2D(), PCGASMGetLocalSubdomains()

Level:advanced
Location:
src/ksp/pc/impls/gasm/gasm.c
Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/ksp/ksp/examples/tutorials/ex8g.c.html