MatCoarsenSetFromOptions#
Sets various coarsen options from the options database.
Synopsis#
#include "petscmat.h"
PetscErrorCode MatCoarsenSetFromOptions(MatCoarsen coarser)
Collective
Input Parameter#
coarser - the coarsen context.
Options Database Key#
-mat_coarsen_type
- mis: maximal independent set based; misk: distance k MIS; hem: heavy edge matching-mat_coarsen_max_it
number of iterations to use in the coarsening process - seeMatCoarsenSetMaximumIterations()
Notes#
When the coarsening is used inside PCGAMG
then the options database keys are prefixed with -pc_gamg_
Sets the MatCoarsenType
to MATCOARSENMISK
if has not been set previously
See Also#
MatCoarsen
, MatCoarsenType
, MatCoarsenApply()
, MatCoarsenCreate()
, MatCoarsenSetType()
,
MatCoarsenSetMaximumIterations()
Level#
advanced
Location#
Implementations#
MatCoarsenSetFromOptions_MISK() in src/mat/graphops/coarsen/impls/misk/misk.c
Index of all MatGraphOperations routines
Table of Contents for all manual pages
Index of all manual pages