petsc-3.10.5 2019-03-28
Report Typos and Errors

# MatType

String with the name of a PETSc matrix type

### Synopsis

    typedef const char* MatType;
    #define MATSAME            "same"
    #define MATMAIJ            "maij"
    #define MATSEQMAIJ         "seqmaij"
    #define MATMPIMAIJ         "mpimaij"
    #define MATIS              "is"
    #define MATAIJ             "aij"
    #define MATSEQAIJ          "seqaij"
    #define MATMPIAIJ          "mpiaij"
    #define MATAIJCRL          "aijcrl"
    #define MATSEQAIJCRL       "seqaijcrl"
    #define MATMPIAIJCRL       "mpiaijcrl"
    #define MATAIJCUSPARSE     "aijcusparse"
    #define MATSEQAIJCUSPARSE  "seqaijcusparse"
    #define MATMPIAIJCUSPARSE  "mpiaijcusparse"
    #define MATAIJVIENNACL     "aijviennacl"
    #define MATSEQAIJVIENNACL  "seqaijviennacl"
    #define MATMPIAIJVIENNACL  "mpiaijviennacl"
    #define MATAIJPERM         "aijperm"
    #define MATSEQAIJPERM      "seqaijperm"
    #define MATMPIAIJPERM      "mpiaijperm"
    #define MATAIJSELL         "aijsell"
    #define MATSEQAIJSELL      "seqaijsell"
    #define MATMPIAIJSELL      "mpiaijsell"
    #define MATAIJMKL          "aijmkl"
    #define MATSEQAIJMKL       "seqaijmkl"
    #define MATMPIAIJMKL       "mpiaijmkl"
    #define MATBAIJMKL         "baijmkl"
    #define MATSEQBAIJMKL      "seqbaijmkl"
    #define MATMPIBAIJMKL      "mpibaijmkl"
    #define MATSHELL           "shell"
    #define MATDENSE           "dense"
    #define MATSEQDENSE        "seqdense"
    #define MATMPIDENSE        "mpidense"
    #define MATELEMENTAL       "elemental"
    #define MATBAIJ            "baij"
    #define MATSEQBAIJ         "seqbaij"
    #define MATMPIBAIJ         "mpibaij"
    #define MATMPIADJ          "mpiadj"
    #define MATSBAIJ           "sbaij"
    #define MATSEQSBAIJ        "seqsbaij"
    #define MATMPISBAIJ        "mpisbaij"
    #define MATDAAD            "daad"
    #define MATMFFD            "mffd"
    #define MATNORMAL          "normal"
    #define MATNORMALHERMITIAN "normalh"
    #define MATLRC             "lrc"
    #define MATSCATTER         "scatter"
    #define MATBLOCKMAT        "blockmat"
    #define MATCOMPOSITE       "composite"
    #define MATFFT             "fft"
    #define MATFFTW            "fftw"
    #define MATSEQCUFFT        "seqcufft"
    #define MATTRANSPOSEMAT    "transpose"
    #define MATSCHURCOMPLEMENT "schurcomplement"
    #define MATPYTHON          "python"
    #define MATHYPRE           "hypre"
    #define MATHYPRESTRUCT     "hyprestruct"
    #define MATHYPRESSTRUCT    "hypresstruct"
    #define MATSUBMATRIX       "submatrix"
    #define MATLOCALREF        "localref"
    #define MATNEST            "nest"
    #define MATPREALLOCATOR    "preallocator"
    #define MATSELL            "sell"
    #define MATSEQSELL         "seqsell"
    #define MATMPISELL         "mpisell"
    #define MATDUMMY           "dummy"
    #define MATLMVM            "lmvm"
    #define MATLMVMDFP         "lmvmdfp"
    #define MATLMVMBFGS        "lmvmbfgs"
    #define MATLMVMSR1         "lmvmsr1"
    #define MATLMVMBRDN        "lmvmbrdn"
    #define MATLMVMBADBRDN     "lmvmbadbrdn"
    #define MATLMVMSYMBRDN     "lmvmsymbrdn"
    #define MATLMVMSYMBADBRDN  "lmvmsymbadbrdn"
    #define MATLMVMDIAGBRDN    "lmvmdiagbrdn"

### See Also

MatSetType(), Mat, MatSolverType, MatRegister()

### Level

beginner

### Location

src/mat/../../include/petscmat.h

### Examples

src/mat/examples/tutorials/ex8.c.html
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages