:orphan:
# MatSTRUMPACKReordering
sparsity reducing ordering to be used in `MATSOLVERSTRUMPACK``
## Synopsis
```
typedef enum {
MAT_STRUMPACK_NATURAL = 0,
MAT_STRUMPACK_METIS = 1,
MAT_STRUMPACK_PARMETIS = 2,
MAT_STRUMPACK_SCOTCH = 3,
MAT_STRUMPACK_PTSCOTCH = 4,
MAT_STRUMPACK_RCM = 5
} MatSTRUMPACKReordering;
```
## Values
- ***`MAT_STRUMPACK_NATURAL` -*** use the current ordering
- ***`MAT_STRUMPACK_METIS` -*** use MeTis to compute an ordering
- ***`MAT_STRUMPACK_PARMETIS` -*** use ParMeTis to compute an ordering
- ***`MAT_STRUMPACK_SCOTCH` -*** use Scotch to compute an ordering
- ***`MAT_STRUMPACK_PTSCOTCH` -*** use parallel Scotch to compute an ordering
- ***`MAT_STRUMPACK_RCM` -*** use an RCM ordering
## Developer Note
Should be called `MatSTRUMPACKReorderingType`
## See Also
`Mat`, `MATSOLVERSTRUMPACK`, `MatGetFactor()`, `MatSTRUMPACKSetHSSRelTol()`, `MatSTRUMPACKSetReordering()`
## Level
intermediate
## Location
include/petscmat.h
## Examples
src/ksp/ksp/tutorials/ex52.c
---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/include/petscmat.h)
[Index of all Mat routines](index.md)
[Table of Contents for all manual pages](/manualpages/index.md)
[Index of all manual pages](/manualpages/singleindex.md)