:orphan: # MatOrderingRegisterAll Registers all of the matrix reordering routines in PETSc. ## Synopsis ``` #include "petscmat.h" PetscErrorCode MatOrderingRegisterAll(void) ``` Not Collective ## Notes To add a new method to the registry. Copy this routine and modify it to incorporate a call to `MatReorderRegister()` for the new method, after the current list. To prevent all of the methods from being registered and thus save memory, copy this routine and comment out those orderigs you do not wish to include. Make sure that the replacement routine is linked before libpetscmat.a. ## See Also `MatOrderingType`, `MatOrderingRegister()` ## Level developer ## Location src/mat/order/sregis.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/mat/order/sregis.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)