# MatHtoolGetPermutationTarget
Gets the permutation associated to the target cluster for a `MATHTOOL` matrix. 
## Synopsis
```
#include "petscmat.h" 
PETSC_EXTERN PetscErrorCode MatHtoolGetPermutationTarget(Mat A, IS *is)
```

## Input Parameter

- ***A -*** hierarchical matrix



## Output Parameter

- ***is -*** permutation





## See Also
 `MATHTOOL`, `MatHtoolGetPermutationSource()`, `MatHtoolUsePermutation()`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/mat/impls/htool/htool.cxx.html#MatHtoolGetPermutationTarget">src/mat/impls/htool/htool.cxx</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/mat/impls/htool/htool.cxx.html#MatHtoolGetPermutationTarget_Htool">MatHtoolGetPermutationTarget_Htool in src/mat/impls/htool/htool.cxx</A><BR>


---
[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](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
