petsc-3.12.5 2020-03-29
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
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.
See Also
PCSetUseAmat(), PCBJacobiSetLocalBlocks()
Level
intermediate
Location
src/ksp/pc/impls/bjacobi/bjacobi.c
Examples
src/ksp/ksp/examples/tutorials/ex7.c.html
src/ksp/ksp/examples/tutorials/ex7f.F90.html
Implementations
PCBJacobiSetTotalBlocks_BJacobi in src/ksp/pc/impls/bjacobi/bjacobi.c
Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages