# MatType

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

### Synopsis

    #define MATSAME            "same"
    #define MATSEQMAIJ         "seqmaij"
    #define MATMPIMAIJ         "mpimaij"
    #define MATMAIJ            "maij"
    #define MATIS              "is"
    #define MATMPIROWBS        "mpirowbs"
    #define MATSEQAIJ          "seqaij"
    #define MATMPIAIJ          "mpiaij"
    #define MATAIJ             "aij"
    #define MATSHELL           "shell"
    #define MATSEQBDIAG        "seqbdiag"
    #define MATMPIBDIAG        "mpibdiag"
    #define MATBDIAG           "bdiag"
    #define MATSEQDENSE        "seqdense"
    #define MATMPIDENSE        "mpidense"
    #define MATDENSE           "dense"
    #define MATSEQBAIJ         "seqbaij"
    #define MATMPIBAIJ         "mpibaij"
    #define MATBAIJ            "baij"
    #define MATMPIADJ          "mpiadj"
    #define MATSEQSBAIJ        "seqsbaij"
    #define MATMPISBAIJ        "mpisbaij"
    #define MATSBAIJ           "sbaij"
    #define MATDAAD            "daad"
    #define MATMFFD            "mffd"
    #define MATESI             "esi"
    #define MATPETSCESI        "petscesi"
    #define MATNORMAL          "normal"
    #define MATSEQAIJSPOOLES   "seqaijspooles"
    #define MATMPIAIJSPOOLES   "mpiaijspooles"
    #define MATSEQSBAIJSPOOLES "seqsbaijspooles"
    #define MATMPISBAIJSPOOLES "mpisbaijspooles"
    #define MATSUPERLU         "superlu"
    #define MATSUPERLU_DIST    "superlu_dist"
    #define MATUMFPACK         "umfpack"
    #define MATESSL            "essl"
    #define MATLUSOL           "lusol"
    #define MATAIJMUMPS        "aijmumps"
    #define MATSBAIJMUMPS      "sbaijmumps"
    #define MATDSCPACK         "dscpack"
    #define MATMATLAB          "matlab"
    #define MatType char*

    /* Logging support */
    #define    MAT_FILE_COOKIE 1211216    /* used to indicate matrices in binary files */
    extern int MAT_COOKIE;

### See Also

MatSetType(), Mat

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