petsc-3.7.1 2016-05-15
Report Typos and Errors

PCGASMCreateSubdomains

Creates n index sets defining n nonoverlapping subdomains for the additive Schwarz preconditioner for a any problem based on its matrix.

Synopsis

#include "petscpc.h" 
PetscErrorCode  PCGASMCreateSubdomains(Mat A,PetscInt N,PetscInt *n,IS *iis[])
Collective Many br

Input Parameters

A - The global matrix operator Many br
N - the number of global subdomains requested Many br

Output Parameters

n - the number of subdomains created on this processor Many br
iis - the array of index sets defining the local inner subdomains (on which the correction is applied) Many br

Many br

Note: When N >= A's communicator size, each subdomain is local -- contained within a single processor. Many brWhen N < size, the subdomains are 'straddling' (processor boundaries) and are no longer local. Many brThe resulting subdomains can be use in PCGASMSetSubdomains(pc,n,iss,NULL). The overlapping Many brouter subdomains will be automatically generated from these according to the requested amount of Many broverlap; this is currently supported only with local subdomains. Many br

Keywords

PC, GASM, additive Schwarz, create, subdomains, unstructured grid

See Also

PCGASMSetSubdomains(), PCGASMDestroySubdomains()

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