:orphan:
# ISLocalToGlobalMappingDestroy
Destroys a mapping between a local (0 to n) ordering and a global parallel ordering.
## Synopsis
```
#include "petscis.h"
PetscErrorCode ISLocalToGlobalMappingDestroy(ISLocalToGlobalMapping *mapping)
```
Not Collective
## Input Parameter
- ***mapping -*** mapping data structure
## See Also
[](sec_scatter), `ISLocalToGlobalMapping`, `ISLocalToGlobalMappingCreate()`
## Level
advanced
## Location
src/vec/is/utils/isltog.c
## Examples
src/ksp/ksp/tutorials/ex59.c
src/mat/tutorials/ex3.c
src/vec/is/is/tutorials/ex4.c
src/vec/is/is/tutorials/ex5.c
src/vec/vec/tutorials/ex8.c
src/vec/vec/tutorials/ex8f.F90
---
[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](/manualpages/index.md)
[Index of all manual pages](/manualpages/singleindex.md)