#include "petscpc.h" PetscErrorCode PCGASMCreateSubdomains2D(PC pc,PetscInt M,PetscInt N,PetscInt Mdomains,PetscInt Ndomains,PetscInt dof,PetscInt overlap,PetscInt *nsub,IS **iis,IS **ois)Collective
M, N | - the global number of grid points in the x and y directions | |
Mdomains, Ndomains | - the global number of subdomains in the x and y directions | |
dof | - degrees of freedom per node | |
overlap | - overlap in mesh lines |
Nsub | - the number of local subdomains created | |
iis | - array of index sets defining inner (nonoverlapping) subdomains | |
ois | - array of index sets defining outer (overlapping, if overlap > 0) subdomains |