PCASMGetSubSLES

Gets the local SLES contexts for all blocks on this processor.

Synopsis

#include "pc.h" 
int PCASMGetSubSLES(PC pc,int *n_local,int *first_local,SLES **sles)
Not Collective

Input Parameter

pc -the preconditioner context

Output Parameters

n_local - the number of blocks on this processor or PETSC_NULL
first_local - the global number of the first block on this processor or PETSC_NULL
sles - the array of SLES contexts

Note

After PCASMGetSubSLES() the array of SLESes is not to be freed

Currently for some matrix implementations only 1 block per processor is supported.

You must call SLESSetUp() before calling PCASMGetSubSLES().

Keywords

PC, ASM, additive Schwarz, get, sub, SLES, context

See Also

PCASMSetTotalSubdomains(), PCASMSetTotalSubdomains(), PCASMSetOverlap(),
PCASMCreateSubdomains2D(),

Examples

src/sles/examples/tutorials/ex8.c

Level:advanced
Location:src/sles/pc/impls/asm/asm.c
PC Index
Table of Contents