#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
pc | - the preconditioner context | |
M | - the global number of grid points in the x direction | |
N | - the global number of grid points in the y direction | |
Mdomains | - the global number of subdomains in the x direction | |
Ndomains | - the global number of subdomains in the y direction | |
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 |