# ISGlobalToLocalMappingMode
Indicates mapping behavior if global indices are missing 
## Synopsis
```
#include "petscis.h" 
typedef enum {
  IS_GTOLM_MASK,
  IS_GTOLM_DROP
} ISGlobalToLocalMappingMode;
```
`IS_GTOLM_MASK` - missing global indices are masked by mapping them to a local index of -1
`IS_GTOLM_DROP` - missing global indices are dropped




## See Also
 `ISGlobalToLocalMappingApplyBlock()`, `ISGlobalToLocalMappingApply()`


## Level
beginner

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/include/petscis.h.html#ISGlobalToLocalMappingMode">include/petscis.h</A>

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


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


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