#include "petscpc.h" PetscErrorCode PCGASMSetSubdomains(PC pc,PetscInt n,IS iis[],IS ois[])Collective on pc
pc | - the preconditioner object | |
n | - the number of subdomains for this processor | |
iis | - the index sets that define the inner subdomains (or NULL for PETSc to determine subdomains) | |
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) |
Inner subdomains can not overlap with each other, do not have any entities from remote processors, and have to cover the entire local subdomain owned by the current processor. The index sets on each process should be ordered such that the ith local subdomain is connected to the ith remote subdomain on another MPI process.
By default the GASM preconditioner uses 1 (local) subdomain per processor.
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