MATMPISBAIJ#
MATMPISBAIJ = “mpisbaij” - A matrix type to be used for distributed symmetric sparse block matrices, based on block compressed sparse row format. Only the upper triangular portion of the “diagonal” portion of the matrix is stored. For complex numbers by default this matrix is symmetric, NOT Hermitian symmetric. To make it Hermitian symmetric you
can call MatSetOption(A, MAT_HERMITIAN, PETSC_TRUE).
Options Database Key#
-mat_type mpisbaij - sets the matrix type to “mpisbaij” during a call to
MatSetFromOptions()
Notes#
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.
The number of rows in the matrix must be less than or equal to the number of columns. Similarly the number of rows in the diagonal portion of the matrix of each process must be less than or equal to the number of columns.
See Also#
Matrices, Mat, MATSBAIJ, MATBAIJ, MatCreateBAIJ(), MATSEQSBAIJ, MatType
Level#
beginner
Location#
Examples#
src/mat/tests/ex107.c
src/mat/tests/ex134.c
src/mat/tests/ex135.c
src/mat/tests/ex174.cxx
src/mat/tests/ex232.c
src/mat/tests/ex233.c
src/mat/tests/ex244.cxx
src/mat/tests/ex50.c
src/mat/tests/ex55.c
src/mat/tests/ex87.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages