MATSBAIJ#

MATSBAIJ = “sbaij” - A matrix type to be used for symmetric block sparse matrices. This matrix type is identical to MATSEQSBAIJ when constructed with a single process communicator, and MATMPISBAIJ otherwise.

Options Database Key#

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.

See Also#

Matrices, Mat, MATSEQSBAIJ, MATMPISBAIJ, MatCreateSBAIJ(), MATSEQBAIJ, MATMPIBAIJ

Level#

beginner

Location#

src/mat/impls/sbaij/mpi/mpisbaij.c

Examples#

src/mat/tests/ex72.c
src/mat/tests/ex118.c
src/mat/tests/ex127.c
src/mat/tests/ex141.c
src/mat/tests/ex180.c
src/mat/tests/ex216.c
src/mat/tests/ex222.c
src/mat/tests/ex263.c
src/mat/tests/ex276.c
src/mat/tests/ex30.c


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