# SNESVIGetInactiveSet
Gets the global indices for the inactive set variables (these correspond to the degrees of freedom the linear system is solved on) 
## Synopsis
```
#include "petscsnes.h" 
PetscErrorCode SNESVIGetInactiveSet(SNES snes, IS *inact)
```

## Input parameter

- ***snes -*** the `SNES` context



## Output parameter

- ***inact -*** inactive set index set





## See Also
 `SNESVINEWTONRSLS`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/snes/impls/vi/rs/virs.c.html#SNESVIGetInactiveSet">src/snes/impls/vi/rs/virs.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/snes/impls/vi/rs/virs.c)


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