:orphan:
# MatHtoolGetPermutationSource
Gets the permutation associated to the source cluster for a `MATHTOOL` matrix.
## Synopsis
```
#include "petscmat.h"
PETSC_EXTERN PetscErrorCode MatHtoolGetPermutationSource(Mat A, IS *is)
```
## Input Parameter
- ***A -*** hierarchical matrix
## Output Parameter
- ***is -*** permutation
## See Also
[](ch_matrices), `Mat`, `MATHTOOL`, `MatHtoolGetPermutationTarget()`, `MatHtoolUsePermutation()`
## Level
advanced
## Location
src/mat/impls/htool/htool.cxx
## Implementations
MatHtoolGetPermutationSource_Htool in src/mat/impls/htool/htool.cxx
---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/mat/impls/htool/htool.cxx)
[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)