:orphan:
# ISColoringGetType
gets if the coloring is for the local representation (including ghost points) or the global representation 
## Synopsis
```
#include "petscis.h"  
PetscErrorCode ISColoringGetType(ISColoring coloring, ISColoringType *type)
```
Collective


## Input Parameter

- ***coloring -*** the coloring object



## Output Parameter

- ***type -*** either `IS_COLORING_LOCAL` or `IS_COLORING_GLOBAL`





## See Also
 `MatFDColoringCreate()`, `ISColoring`, `ISColoringType`, `ISColoringCreate()`, `IS_COLORING_LOCAL`, `IS_COLORING_GLOBAL`, `ISColoringSetType()`

## Level
intermediate

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


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