petsc-3.7.1 2016-05-15
Report Typos and Errors

PCFieldSplitSetIS

Sets the exact elements for field

Synopsis

#include "petscpc.h" 
PetscErrorCode  PCFieldSplitSetIS(PC pc,const char splitname[],IS is)
Logically Collective on PC Many br

Input Parameters

pc - the preconditioner context Many br
splitname - name of this split, if NULL the number of the split is used Many br
is - the index set that defines the vector elements in this field Many br

Notes

Use PCFieldSplitSetFields(), for fields defined by strided types. Many br

This function is called once per split (it creates a new split each time). Solve options Many brfor this split will be available under the prefix -fieldsplit_SPLITNAME_. Many br

Many br

See Also

PCFieldSplitGetSubKSP(), PCFIELDSPLIT, PCFieldSplitSetBlockSize()

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/snes/examples/tutorials/ex28.c.html
src/snes/examples/tutorials/ex70.c.html