#include "petscpc.h" PetscErrorCode PCGASMCreateLocalSubdomains(Mat A, PetscInt overlap, PetscInt n, IS *iis[], IS *ois[])Collective
A | - The global matrix operator | |
overlap | - amount of overlap in outer subdomains | |
n | - the number of local subdomains |
iis | - the array of index sets defining the local inner subdomains (on which the correction is applied) | |
ois | - the array of index sets defining the local outer subdomains (on which the residual is computed) |
Note: this generates n nonoverlapping local inner subdomains on PETSC_COMM_SELF; PCGASM will generate the overlap from these if you use them in PCGASMSetSubdomains() and set a nonzero overlap with PCGASMSetOverlap()
In the Fortran version you must provide the array outis[] already allocated of length n.
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