MatCoarsenSetType#

Sets the type of aggregator to use

Synopsis#

#include "petscmatcoarsen.h" 
PetscErrorCode MatCoarsenSetType(MatCoarsen coarser, MatCoarsenType type)

Collective on coarser

Input Parameters#

  • coarser - the coarsen context.

  • type - a known coarsening method

Options Database Command#

-mat_coarsen_type  <type>
Use -help for a list of available methods
(for instance, misk)

See Also#

MatCoarsen, MatCoarsenCreate(), MatCoarsenApply(), MatCoarsenType, MatCoarsenGetType()

Level#

advanced

Location#

src/mat/coarsen/coarsen.c


Edit on GitLab

Index of all MatOrderings routines
Table of Contents for all manual pages
Index of all manual pages