petsc-3.14.5 2021-03-03
Report Typos and Errors

# MatOrderingType

String with the name of a PETSc matrix ordering

### Synopsis

    typedef const char* MatOrderingType;
    #define MATORDERINGNATURAL        "natural"
    #define MATORDERINGND             "nd"
    #define MATORDERING1WD            "1wd"
    #define MATORDERINGRCM            "rcm"
    #define MATORDERINGQMD            "qmd"
    #define MATORDERINGROWLENGTH      "rowlength"
    #define MATORDERINGWBM            "wbm"
    #define MATORDERINGSPECTRAL       "spectral"
    #define MATORDERINGAMD            "amd"            /* only works if UMFPACK is installed with PETSc */
    #define MATORDERINGNATURAL_OR_ND  "natural_or_nd"  /* special coase used for Cholesky and ICC, allows ND when AIJ matrix is used but Natural when SBAIJ is used */
    #define MATORDERINGEXTERNAL       "external"       /* uses an ordering type internal to the factorization package */

### Notes

If MATORDERINGEXTERNAL is used then PETSc does not compute an ordering and utilizes one built into the factorization package

### See Also

MatGetOrdering()

### Level

beginner

### Location

src/mat/../../include/petscmat.h
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages