#include "petscmat.h" PetscErrorCode MatOrderingRegister(const char sname[],PetscErrorCode (*function)(Mat,MatOrderingType,IS*,IS*))Not Collective
sname | - name of ordering (for example MATORDERINGND) | |
function | - function pointer that creates the ordering |
MatOrderingRegister("my_order", MyOrder);
Then, your partitioner can be chosen with the procedural interface via
MatOrderingSetType(part,"my_order)or at runtime via the option
-pc_factor_mat_ordering_type my_order
Level:developer
Location:src/mat/order/sorder.c
Index of all MatOrderings routines
Table of Contents for all manual pages
Index of all manual pages