:orphan:
# MatColoringRegisterAll
Registers all of the matrix coloring routines in PETSc. 
## Synopsis
```
PetscErrorCode MatColoringRegisterAll(void)
```
Not Collective




## Adding new methods
To add a new method to the registry. Copy this routine and
modify it to incorporate a call to `MatColoringRegister()` for
the new method, after the current list.


## See Also
 `MatColoring`, `MatColoringRegister()`, `MatColoringRegisterDestroy()`

## Level
developer

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/mat/color/interface/matcoloringregi.c.html#MatColoringRegisterAll">src/mat/color/interface/matcoloringregi.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/mat/color/interface/matcoloringregi.c)


[Index of all MatOrderings routines](index.md)  
[Table of Contents for all manual pages](/manualpages/index.md)  
[Index of all manual pages](/manualpages/singleindex.md)  
