petsc-3.5.4 2015-05-23
Report Typos and Errors

MatCoarsenSetGreedyOrdering

Sets the weights for vertices for a coarsen.

Synopsis

#include "petscmat.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

Keywords

Coarsen

See Also

MatCoarsenCreate(), MatCoarsenSetType()

Level:beginner
Location:
src/mat/coarsen/coarsen.c
Index of all MatOrderings routines
Table of Contents for all manual pages
Index of all manual pages