:orphan: # MatCoarsenGetType Gets the Coarsen method type and name (as a string) from the coarsen context. ## Synopsis ``` #include "petscmatcoarsen.h" PetscErrorCode MatCoarsenGetType(MatCoarsen coarsen, MatCoarsenType *type) ``` Not Collective ## Input Parameter - ***coarsen -*** the coarsen context ## Output Parameter - ***type -*** coarsener type ## See Also `MatCoarsen`, `MatCoarsenCreate()`, `MatCoarsenType`, `MatCoarsenSetType()`, `MatCoarsenRegister()` ## Level advanced ## Location src/mat/coarsen/coarsen.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/mat/coarsen/coarsen.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)