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

Note#

Sets the MatCoarsenType to MATCOARSENMISK if has not been set previously

See Also#

MatCoarsen, MatCoarsenType, MatCoarsenApply(), MatCoarsenCreate(), MatCoarsenSetType()

Level#

advanced

Location#

src/mat/graphops/coarsen/coarsen.c

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