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


## Input Parameters

- ***coarsen -*** the coarsen
- ***k -*** the distance



## Options Database Key

- ***-mat_coarsen_misk_distance <k> -*** distance for MIS





## 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#MatCoarsenMISKSetDistance">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)  
