PCBJacobiSetTotalBlocks

Sets the global number of blocks for the block Jacobi preconditioner.

Synopsis

int PCBJacobiSetTotalBlocks(PC pc, int blocks,int *lens)
Collective on PC

Input Parameters

pc - the preconditioner context
blocks - the number of blocks
lens - [optional] integer array containing the size of each block

Options Database Key

-pc_bjacobi_blocks <blocks> -Sets the number of global blocks

Notes

Currently only a limited number of blocking configurations are supported. All processors sharing the PC must call this routine with the same data.

Keywords

set, number, Jacobi, global, total, blocks

See Also

PCBJacobiSetUseTrueLocal(), PCBJacobiSetLocalBlocks()

Examples

src/sles/examples/tutorials/ex7.c

Location: src/pc/impls/bjacobi/bjacobi.c
PC Index
Table of Contents