MATMPIAIJ#

MATMPIAIJ = “mpiaij” - A matrix type to be used for parallel sparse matrices.

Options Database Keys#

Notes#

MatSetValues() may be called with a NULL argument for the numerical values to insert zeros at the supplied row and column indices.

Call MatSetOption(A, MAT_STRUCTURE_ONLY, PETSC_TRUE) before preallocation or MatSetUp() to store only the nonzero pattern. The assembled matrix has no numerical value array. Row and column indices supplied during insertion are retained, while numerical values are ignored. Such matrices can be used for structural operations, but not for numerical operations.

See Also#

Matrices, Mat, MATSEQAIJ, MATAIJ, MatCreateAIJ()

Level#

beginner

Location#

src/mat/impls/aij/mpi/mpiaij.c

Examples#

src/mat/tests/ex27.c
src/mat/tests/ex100.c
src/mat/tests/ex103.c
src/mat/tests/ex107.c
src/mat/tests/ex115.c
src/mat/tests/ex123.c
src/mat/tests/ex174.cxx
src/mat/tests/ex213.c
src/mat/tests/ex221.c
src/mat/tests/ex237.c


Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages