# ISBlockRestoreIndices
Restores the indices associated with each block  in an `ISBLOCK` obtained with `ISBlockGetIndices()` 
## Synopsis
```
#include "petscis.h"     
PetscErrorCode ISBlockRestoreIndices(IS is, const PetscInt *idx[])
```
Not Collective


## Input Parameter

- ***is -*** the index set



## Output Parameter

- ***idx -*** the integer indices





## See Also
 [](sec_scatter), `IS`, `ISBLOCK`, `ISRestoreIndices()`, `ISBlockGetIndices()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/vec/is/is/impls/block/block.c.html#ISBlockRestoreIndices">src/vec/is/is/impls/block/block.c</A>

## Examples
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/vec/is/is/tutorials/ex3.c.html">src/vec/is/is/tutorials/ex3.c.html</A><BR>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/vec/is/is/impls/block/block.c.html#ISBlockRestoreIndices_Block">ISBlockRestoreIndices_Block in src/vec/is/is/impls/block/block.c</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/vec/is/is/impls/block/block.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)  
