PCBJacobiGetSubSLES

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

Synopsis

#include "petscpc.h" 
int PCBJacobiGetSubSLES(PC pc,int *n_local,int *first_local,SLES **sles)
Note 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

Notes

After PCBJacobiGetSubSLES() the array of SLES contexts is not to be freed.

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

You must call SLESSetUp() or PCSetUp() before calling PCBJacobiGetSubSLES().

Keywords

block, Jacobi, get, sub, SLES, context

See Also

PCBJacobiGetSubSLES()

Level:advanced
Location:
src/sles/pc/impls/bjacobi/bjacobi.c
Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/sles/examples/tutorials/ex7.c.html