MatCreateMPIAIJSumSeqAIJSymbolic#
Create the symbolic (nonzero-pattern) portion of an MATMPIAIJ matrix obtained by summing local MATSEQAIJ contributions from each process.
Synopsis#
#include "petscmat.h"
PetscErrorCode MatCreateMPIAIJSumSeqAIJSymbolic(MPI_Comm comm, Mat seqmat, PetscInt m, PetscInt n, Mat *mpimat)
Collective
Input Parameters#
comm - the communicator
seqmat - the local
MATSEQAIJcontribution from this processm - the number of local rows for the resulting
MATMPIAIJmatrix, orPETSC_DECIDEn - the number of local columns for the resulting
MATMPIAIJmatrix, orPETSC_DECIDE
Output Parameter#
mpimat - the newly created
MATMPIAIJmatrix
Note#
The numerical values are filled in by a subsequent call to MatCreateMPIAIJSumSeqAIJNumeric().
See Also#
Mat, MATMPIAIJ, MATSEQAIJ, MatCreateMPIAIJSumSeqAIJNumeric(), MatCreateMPIAIJSumSeqAIJ()
Level#
developer
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