petsc-3.3-p7 2013-05-11

PCFieldSplitSetBlockSize

Sets the block size for defining where fields start in the fieldsplit preconditioner. If not set the matrix block size is used.

Synopsis

#include "petscpc.h" 
#include "petscdmcomposite.h" 
PetscErrorCode  PCFieldSplitSetBlockSize(PC pc,PetscInt bs)
Logically Collective on PC

Input Parameters

pc - the preconditioner context
bs - the block size

See Also

PCFieldSplitGetSubKSP(), PCFIELDSPLIT, PCFieldSplitSetFields()

Level:intermediate
Location:
src/ksp/pc/impls/fieldsplit/fieldsplit.c
Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/ksp/ksp/examples/tutorials/ex42.c.html
src/ksp/ksp/examples/tutorials/ex43.c.html