#include "petscpc.h" PetscErrorCode PCGASMSetSubdomains(PC pc,PetscInt n,IS iis[],IS ois[])Collective on PC
pc | - the preconditioner context | |
n | - the number of subdomains for this processor | |
iis | - the index sets that define this processor's local inner subdomains (or PETSC_NULL for PETSc to determine subdomains) | |
ois | - the index sets that define this processor's local outer subdomains (or PETSC_NULL to use the same as iis) |
By default the GASM preconditioner uses 1 (local) subdomain per processor. Use PCGASMSetTotalSubdomains() to set the total number of subdomains across all processors that PCGASM will create automatically, and to specify whether they should be local or not.
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