#include "petscmat.h" PetscErrorCode MatCreateMPIAIJSumSeqAIJ(MPI_Comm comm,Mat seqmat,PetscInt m,PetscInt n,MatReuse scall,Mat *mpimat)Collective
comm | - the communicators the parallel matrix will live on | |
seqmat | - the input sequential matrices | |
m | - number of local rows (or PETSC_DECIDE) | |
n | - number of local columns (or PETSC_DECIDE) | |
scall | - either MAT_INITIAL_MATRIX or MAT_REUSE_MATRIX |