# ISRestoreNonlocalIndices
Restore the index array obtained with ISGetNonlocalIndices(). 
## Synopsis
```
#include "petscis.h" 
PetscErrorCode ISRestoreNonlocalIndices(IS is, const PetscInt *indices[])
```
Not Collective.


## Input Parameters

- ***is -*** the index set
- ***indices -*** index array; must be the array obtained with ISGetNonlocalIndices()





## See Also
 `ISGetTotalIndices()`, `ISGetNonlocalIndices()`, `ISRestoreTotalIndices()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/vec/is/is/interface/index.c.html#ISRestoreNonlocalIndices">src/vec/is/is/interface/index.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/vec/is/is/interface/index.c)


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