SLESSetUpOnBlocks

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

Synopsis

#include "sles.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()

Examples

src/sles/examples/tutorials/ex10.c

Level:advanced
Location:src/sles/interface/sles.c
SLES Index
Table of Contents