:orphan:
# ISLocalToGlobalMapping
mappings from a local ordering (on individual MPI processes) of 0 to n-1 to a global PETSc ordering (across collections of MPI processes) used by a vector or matrix. 
## Synopsis
```
typedef struct _p_ISLocalToGlobalMapping *ISLocalToGlobalMapping;
```



## Note
Mapping from local to global is scalable; but global
to local may not be if the range of global values represented locally
is very large. `ISLocalToGlobalMappingType` provides alternative ways of efficiently applying `ISGlobalToLocalMappingApply()


## Developer Note
`ISLocalToGlobalMapping` is actually a private object; it is included
here for the inline function `ISLocalToGlobalMappingApply()` to allow it to be inlined since
it is used so often.


## See Also
 `ISLocalToGlobalMappingCreate()`, `ISLocalToGlobalMappingApply()`, `ISLocalToGlobalMappingDestroy()`, `ISGlobalToLocalMappingApply()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/include/petscistypes.h.html#ISLocalToGlobalMapping">include/petscistypes.h</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/include/petsc/private/isimpl.h.html#_p_ISLocalToGlobalMapping">_p_ISLocalToGlobalMapping in include/petsc/private/isimpl.h</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/include/petscistypes.h)


[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)  
