SLESSetUpOnBlocks

Sets up the preconditioner for each block in the block Jacobi, block Gauss-Seidel, and overlapping Schwarz methods.

Synopsis

#include "petscsles.h"    
int SLESSetUpOnBlocks(SLES sles)
Collective on SLES

Input Parameter

sles -the SLES context

Notes

SLESSetUpOnBlocks() is a routine that the user can optinally call for more precise profiling (via -log_summary) of the setup phase for these block preconditioners. If the user does not call SLESSetUpOnBlocks(), it will automatically be called from within SLESSolve().

Calling SLESSetUpOnBlocks() is the same as calling PCSetUpOnBlocks() on the PC context within the SLES context.

Keywords

SLES, setup, blocks

See Also

PCSetUpOnBlocks(), SLESSetUp(), PCSetUp()

Level:advanced
Location:
src/sles/interface/sles.c
Index of all SLES routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/sles/examples/tutorials/ex10.c.html
src/sles/examples/tutorials/ex27.c.html