petsc-3.7.1 2016-05-15
PCBJacobiSetTotalBlocks
Sets the global number of blocks for the block Jacobi preconditioner.
Synopsis
#include "petscpc.h"
PetscErrorCode PCBJacobiSetTotalBlocks(PC pc,PetscInt blocks,const PetscInt lens[])
Collective on PC Many br
Input Parameters
| pc | - the preconditioner context Many br |
| blocks | - the number of blocks Many br |
| lens | - [optional] integer array containing the size of each block Many br |
Options Database Key
-pc_bjacobi_blocks <blocks> -Sets the number of global blocks Many br
Notes
Currently only a limited number of blocking configurations are supported. Many brAll processors sharing the PC must call this routine with the same data. Many br
Many br
Keywords
set, number, Jacobi, global, total, blocks
See Also
PCSetUseAmat(), PCBJacobiSetLocalBlocks()
Level:intermediate
Location:src/ksp/pc/impls/bjacobi/bjacobi.c
Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages
Examples
src/ksp/ksp/examples/tutorials/ex7.c.html