:orphan: # 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 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)