int PCASMSetOverlap(PC pc, int ovl)Collective on PC
pc | - the preconditioner context |
ovl | - the amount of overlap between subdomains (ovl >= 0, default value = 1) |
The overlap defaults to 1, so if one desires that no additionaloverlap be computed beyond what may have been set with a call toPCASMSetTotalSubdomains() or PCASMSetLocalSubdomains(), then ovlmust be set to be 0. In particular, if one does not explicitly setthe subdomains an application code, then all overlap would be computedinternally by PETSc, and using an overlap of 0 would result in an ASMvariant that is equivalent to the block Jacobi preconditioner.
Note that one can define initial index sets with any overlap viaPCASMSetTotalSubdomains() or PCASMSetLocalSubdomains(); the routinePCASMSetOverlap() merely allows PETSc to extend that overlap furtherif desired.
Location: src/pc/impls/asm/asm.c
PC Index
Table of Contents