petsc-3.12.5 2020-03-29
Report Typos and Errors

PCBJacobiGetLocalBlocks

Gets the local number of blocks for the block Jacobi preconditioner.

Synopsis

#include "petscpc.h" 
PetscErrorCode  PCBJacobiGetLocalBlocks(PC pc, PetscInt *blocks, const PetscInt *lens[])
Not Collective

Input Parameters

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

Note

Currently only a limited number of blocking configurations are supported.

See Also

PCSetUseAmat(), PCBJacobiGetTotalBlocks()

Level

intermediate

Location

src/ksp/pc/impls/bjacobi/bjacobi.c

Implementations

PCBJacobiGetLocalBlocks_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