petsc-3.12.5 2020-03-29
MatCoarsenSetGreedyOrdering
Sets the ordering of the vertices to use with a greedy coarsening method
Synopsis
#include "petscmatcoarsen.h"
PetscErrorCode MatCoarsenSetGreedyOrdering(MatCoarsen coarser, const IS perm)
Logically Collective on Coarsen
Input Parameters
| coarser | - the coarsen context
|
| perm | - vertex ordering of (greedy) algorithm
|
Notes
The IS weights is freed by PETSc, so user has given this to us
See Also
MatCoarsenCreate(), MatCoarsenSetType()
Level
advanced
Location
src/mat/coarsen/coarsen.c
Index of all MatOrderings routines
Table of Contents for all manual pages
Index of all manual pages