int MatGetTypeFromOptions(MPI_Comm comm,char *pre,MatType *type,PetscTruth *set)
comm | - the MPI communicator |
type | - the type of matrix desired, for example MATSEQAIJ, MATMPIAIJ |
pre | - optional string to prepend to the name |
-mat_aij | - AIJ type |
-mat_baij | - block AIJ type |
-mat_dense | - dense type |
-mat_bdiag | - block diagonal type |
-mat_seqaij | - MATSEQAIJ |
-mat_mpiaij | - MATMPIAIJ |
-mat_seqbaij | - MATSEQBAIJ |
-mat_mpibaij | - MATMPIBAIJ |
-mat_seqbdiag | - MATSEQBDAIG |
-mat_mpibdiag | - MATMPIBDIAG |
-mat_mpirowbs | - MATMPIROWBS |
-mat_seqdense | - MATSEQDENSE |
-mat_mpidense | - MATMPIDENSE |
This routine is automatically called within MatCreate() and MatLoad().
Location: src/mat/interface/mgtype.c
Matrix Index
Table of Contents