# MatSTRUMPACKSetReordering
Set STRUMPACK fill-reducing reordering 
## Synopsis
```
#include "petscmat.h" 
PetscErrorCode MatSTRUMPACKSetReordering(Mat F, MatSTRUMPACKReordering reordering)
```

## Input Parameters

- ***F -*** the factored matrix obtained by calling `MatGetFactor(`) from PETSc-STRUMPACK interface
- ***reordering -*** the code to be used to find the fill-reducing reordering
Possible values: NATURAL=0 METIS=1 PARMETIS=2 SCOTCH=3 PTSCOTCH=4 RCM=5



## Options Database Key

- ***-mat_strumpack_reordering <METIS>  -*** Sparsity reducing matrix reordering (choose one of) NATURAL METIS PARMETIS SCOTCH PTSCOTCH RCM (None)





## References

- **** -*** STRUMPACK manual



## See Also
 `MatGetFactor()`

## Level
beginner

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/mat/impls/aij/mpi/strumpack/strumpack.c.html#MatSTRUMPACKSetReordering">src/mat/impls/aij/mpi/strumpack/strumpack.c</A>

## Examples
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/ksp/tutorials/ex52.c.html">src/ksp/ksp/tutorials/ex52.c.html</A><BR>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/mat/impls/aij/mpi/strumpack/strumpack.c.html#MatSTRUMPACKSetReordering_STRUMPACK">MatSTRUMPACKSetReordering_STRUMPACK in src/mat/impls/aij/mpi/strumpack/strumpack.c</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/mat/impls/aij/mpi/strumpack/strumpack.c)


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