# MatCoarsenMISKGetDistance
gets the distance to be used by MISK 
## Synopsis
```
#include "petscmat.h" 
PetscErrorCode MatCoarsenMISKGetDistance(MatCoarsen crs, PetscInt *k)
```
Collective


## Input Parameter

- ***coarsen -*** the coarsen



## Output Parameter

- ***k -*** the distance





## See Also
 `MATCOARSENMISK`, `MatCoarsen`, `MatCoarseSetFromOptions()`, `MatCoarsenSetType()`, `MatCoarsenRegister()`, `MatCoarsenCreate()`,
`MatCoarsenDestroy()`, `MatCoarsenSetAdjacency()`, `MatCoarsenMISKGetDistance()`
`MatCoarsenGetData()`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/mat/coarsen/impls/misk/misk.c.html#MatCoarsenMISKGetDistance">src/mat/coarsen/impls/misk/misk.c</A>


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


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