# MatOrderingType

String with the name of a PETSc matrix ordering or the creation function with an optional dynamic library name, for example http://www.mcs.anl.gov/petsc/lib.a:orderingcreate()

### Synopsis

    #define MatOrderingType char*
    #define MATORDERING_NATURAL   "natural"
    #define MATORDERING_ND        "nd"
    #define MATORDERING_1WD       "1wd"
    #define MATORDERING_RCM       "rcm"
    #define MATORDERING_QMD       "qmd"
    #define MATORDERING_ROWLENGTH "rowlength"
    #define MATORDERING_DSC_ND    "dsc_nd"
    #define MATORDERING_DSC_MMD   "dsc_mmd"
    #define MATORDERING_DSC_MDF   "dsc_mdf"
    #define MATORDERING_CONSTRAINED "constrained"
    #define MATORDERING_IDENTITY  "identity"
    #define MATORDERING_REVERSE   "reverse"

    EXTERN PetscErrorCode PETSCMAT_DLLEXPORT MatGetOrdering(Mat,const MatOrderingType,IS*,IS*);

Cannot use const because the PC objects manipulate the string

### 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