# PCFieldSplitGetIS
Retrieves the elements for a split as an `IS` 
## Synopsis
```
#include "petscpc.h" 
PetscErrorCode PCFieldSplitGetIS(PC pc, const char splitname[], IS *is)
```
Logically Collective on pc


## Input Parameters

- ***pc  -*** the preconditioner context
- ***splitname -*** name of this split



## Output Parameter

- ***is -*** the index set that defines the elements in this split, or NULL if the split is not found





## See Also
 `PCFieldSplitGetSubKSP()`, `PCFIELDSPLIT`, `PCFieldSplitSetIS()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/pc/impls/fieldsplit/fieldsplit.c.html#PCFieldSplitGetIS">src/ksp/pc/impls/fieldsplit/fieldsplit.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ksp/pc/impls/fieldsplit/fieldsplit.c)


[Index of all PC routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
