# ISLocalToGlobalMappingRestoreNodeInfo
Frees the memory allocated by `ISLocalToGlobalMappingGetNodeInfo()` 
## Synopsis
```
#include "petscis.h"  
PetscErrorCode ISLocalToGlobalMappingRestoreNodeInfo(ISLocalToGlobalMapping mapping, PetscInt *nnodes, PetscInt *count[], PetscInt **indices[])
```
Collective on mapping


## Input Parameter

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



## Output Parameters

- ***nnodes -*** number of local nodes
- ***count -*** number of neighboring processors per node
- ***indices -*** indices of processes sharing the node (sorted)





## 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#ISLocalToGlobalMappingRestoreNodeInfo">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)  
