#include "petscmat.h" PetscErrorCode MatGetOrdering(Mat mat,MatOrderingType type,IS *rperm,IS *cperm)Collective on Mat
mat | - the matrix | |
type | - type of reordering, one of the following: |
MATORDERINGNATURAL - Natural
MATORDERINGND - Nested Dissection
MATORDERING1WD - One-way Dissection
MATORDERINGRCM - Reverse Cuthill-McKee
MATORDERINGQMD - Quotient Minimum Degree
rperm | - row permutation indices | |
cperm | - column permutation indices |
The user can define additional orderings; see MatOrderingRegister().
These are generally only implemented for sequential sparse matrices.
The external packages that PETSc can use for direct factorization such as SuperLU do not accept orderings provided by this call.
Level:intermediate
Location:src/mat/order/sorder.c
Index of all MatOrderings routines
Table of Contents for all manual pages
Index of all manual pages