# ISLocalToGlobalMappingRestoreInfo
Frees the memory allocated by `ISLocalToGlobalMappingGetInfo()` 
## Synopsis
```
#include "petscis.h"  
PetscErrorCode ISLocalToGlobalMappingRestoreInfo(ISLocalToGlobalMapping mapping, PetscInt *nproc, PetscInt *procs[], PetscInt *numprocs[], PetscInt **indices[])
```
Collective


## Input Parameter

- ***mapping -*** the mapping from local to global indexing



## Output Parameters

- ***nproc -*** number of processors that are connected to this one
- ***proc -*** neighboring processors
- ***numproc -*** number of indices for each processor
- ***indices -*** indices of local nodes shared with neighbor (sorted by global numbering)





## See Also
 [](sec_scatter), `ISLocalToGlobalMappingDestroy()`, `ISLocalToGlobalMappingCreateIS()`, `ISLocalToGlobalMappingCreate()`,
`ISLocalToGlobalMappingGetInfo()`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/vec/is/utils/isltog.c.html#ISLocalToGlobalMappingRestoreInfo">src/vec/is/utils/isltog.c</A>


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