MatCoarsenApply#
Gets a coarsen for a matrix.
Synopsis#
#include "petscmatcoarsen.h"
PetscErrorCode MatCoarsenApply(MatCoarsen coarser)
Collective
Input Parameter#
coarsen - the coarsen
Options Database Keys#
-mat_coarsen_type mis|hem|misk - set the coarsening type
-mat_coarsen_view - view the coarsening object
Notes#
Use MatCoarsenGetData()
to access the results of the coarsening
The user can define additional coarsens; see MatCoarsenRegister()
.
See Also#
MatCoarsen
, MatCoarseSetFromOptions()
, MatCoarsenSetType()
, MatCoarsenRegister()
, MatCoarsenCreate()
,
MatCoarsenDestroy()
, MatCoarsenSetAdjacency()
MatCoarsenGetData()
Level#
advanced
Location#
Implementations#
MatCoarsenApply_HEM in src/mat/coarsen/impls/hem/hem.c
MatCoarsenApply_MIS in src/mat/coarsen/impls/mis/mis.c
MatCoarsenApply_MISK in src/mat/coarsen/impls/misk/misk.c
Index of all MatOrderings routines
Table of Contents for all manual pages
Index of all manual pages