#include "petscmat.h" int MatCreate(MPI_Comm comm,int m,int n,int M,int N,Mat *A)Collective on MPI_Comm
m | - number of local rows (or PETSC_DECIDE) | |
n | - number of local columns (or PETSC_DECIDE) | |
M | - number of global rows (or PETSC_DETERMINE) | |
N | - number of global columns (or PETSC_DETERMINE) | |
comm | - MPI communicator |
-mat_type seqaij | - AIJ type, uses MatCreateSeqAIJ() | |
-mat_type mpiaij | - AIJ type, uses MatCreateMPIAIJ() | |
-mat_type seqbdiag | - block diagonal type, uses MatCreateSeqBDiag() | |
-mat_type mpibdiag | - block diagonal type, uses MatCreateMPIBDiag() | |
-mat_type mpirowbs | - rowbs type, uses MatCreateMPIRowbs() | |
-mat_type seqdense | - dense type, uses MatCreateSeqDense() | |
-mat_type mpidense | - dense type, uses MatCreateMPIDense() | |
-mat_type seqbaij | - block AIJ type, uses MatCreateSeqBAIJ() | |
-mat_type mpibaij | - block AIJ type, uses MatCreateMPIBAIJ() |
Level:beginner
Location:src/mat/utils/gcreate.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages
Section 3.1 Creating and Assembling Matrices | - - Chapter 3 Matrices |