#include "petscmat.h" PetscErrorCode MatCoarsenRegister(const char sname[],PetscErrorCode (*function)(MatCoarsen))Logically Collective Many br
sname | - name of coarsen (for example MATCOARSENMIS) Many br | |
function | - function pointer that creates the coarsen type Many br |
Many br
MatCoarsenRegister("my_agg",MyAggCreate);Many br
Then, your aggregator can be chosen with the procedural interface via Many br
MatCoarsenSetType(agg,"my_agg")or at runtime via the option Many br
-mat_coarsen_type my_agg
Level:developer
Location:src/mat/coarsen/coarsen.c
Index of all MatOrderings routines
Table of Contents for all manual pages
Index of all manual pages