#include "petscmat.h" PetscErrorCode MatCreate(MPI_Comm comm,Mat *A)Collective
comm | - MPI communicator |
A | - the matrix |
-mat_type seqaij | - AIJ type, uses MatCreateSeqAIJ() | |
-mat_type mpiaij | - AIJ type, uses MatCreateAIJ() | |
-mat_type seqdense | - dense type, uses MatCreateSeqDense() | |
-mat_type mpidense | - dense type, uses MatCreateDense() | |
-mat_type seqbaij | - block AIJ type, uses MatCreateSeqBAIJ() | |
-mat_type mpibaij | - block AIJ type, uses MatCreateBAIJ() |