petsc-3.7.1 2016-05-15
PCGASMSetSubdomains
Sets the subdomains for this processor for the additive Schwarz preconditioner.
Synopsis
#include "petscpc.h"
PetscErrorCode PCGASMSetSubdomains(PC pc,PetscInt n,IS iis[],IS ois[])
Collective on pc Many br
Input Parameters
| pc | - the preconditioner object Many br |
| n | - the number of subdomains for this processor Many br |
| iis | - the index sets that define the inner subdomains (or NULL for PETSc to determine subdomains) Many br |
| ois | - the index sets that define the outer subdomains (or NULL to use the same as iis, or to construct by expanding iis by the requested overlap) Many br |
Notes
The IS indices use the parallel, global numbering of the vector entries. Many brInner subdomains are those where the correction is applied. Many brOuter subdomains are those where the residual necessary to obtain the Many brcorrections is obtained (see PCGASMType for the use of inner/outer subdomains). Many brBoth inner and outer subdomains can extend over several processors. Many brThis processor's portion of a subdomain is known as a local subdomain. Many br
By default the GASM preconditioner uses 1 (local) subdomain per processor. Many br
Many br
Keywords
PC, GASM, set, subdomains, additive Schwarz
See Also
PCGASMSetNumSubdomains(), PCGASMSetOverlap(), PCGASMGetSubKSP(),
PCGASMCreateSubdomains2D(), PCGASMGetSubdomains() Many br
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/ex62.c.html