:orphan: # MatCoarsenSetFromOptions Sets various coarsen options from the options database. ## Synopsis ``` #include "petscmatcoarsen.h" PetscErrorCode MatCoarsenSetFromOptions(MatCoarsen coarser) ``` Collective ## Input Parameter - ***coarser -*** the coarsen context. ## Options Database Key - ***-mat_coarsen_type -*** (for instance, mis), use -help for a list of available methods ## Note Sets the `MatCoarsenType` to `MATCOARSENMISK` if has not been set previously ## See Also `MatCoarsen`, `MatCoarsenType`, `MatCoarsenApply()`, `MatCoarsenCreate()`, `MatCoarsenSetType()` ## Level advanced ## Location src/mat/coarsen/coarsen.c ## Implementations MatCoarsenSetFromOptions_MISK in src/mat/coarsen/impls/misk/misk.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)