:orphan: # 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 -*** distance for MIS ## See Also `MATCOARSENMISK`, `MatCoarsen`, `MatCoarseSetFromOptions()`, `MatCoarsenSetType()`, `MatCoarsenRegister()`, `MatCoarsenCreate()`, `MatCoarsenDestroy()`, `MatCoarsenSetAdjacency()`, `MatCoarsenMISKGetDistance()` `MatCoarsenGetData()` ## Level advanced ## Location src/mat/coarsen/impls/misk/misk.c --- [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](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)