MATSEQBAIJ#
MATSEQBAIJ = “seqbaij” - A matrix type to be used for sequential block sparse matrices, based on block sparse compressed row format.
Options Database Keys#
-mat_type seqbaij - sets the matrix type to
MATSEQBAIJduring a call toMatSetFromOptions()-mat_baij_mult_version version - indicate the version of the matrix-vector product to use (0 often indicates using BLAS)
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.
Run with -info to see what version of the matrix-vector product is being used
See Also#
Level#
beginner
Location#
Examples#
src/mat/tests/ex141.c
src/mat/tests/ex209f.F90
src/mat/tests/ex237.c
src/mat/tests/ex26.c
src/mat/tests/ex267.c
src/mat/tests/ex310.c
src/mat/tests/ex45.c
src/mat/tests/ex47.c
src/mat/tests/ex55.c
src/mat/tests/ex57.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages