MatMerge

Creates a single large PETSc matrix by concatinating sequential matrices from each processor

Synopsis

int MatMerge(MPI_Comm comm,Mat inmat, Mat *outmat)
Collective on MPI_Comm

Input Parameters

comm - the communicators the parallel matrix will live on
inmat - the input sequential matrices

Output Parameter

outmat -the parallel matrix generated

Notes: The number of columns of the matrix in EACH of the seperate files MUST be the same.

Level:advanced
Location:
src/mat/impls/aij/mpi/mpiaij.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages