petsc-3.10.5 2019-03-28
Report Typos and Errors

# MATSEQSBAIJ

MATSEQSBAIJ = "seqsbaij" - A matrix type to be used for sequential symmetric block sparse matrices, based on block compressed sparse row format. Only the upper triangular 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(Mat, MAT_HERMITIAN); after MatAssemblyEnd()

### Options Database Keys

. -mat_type seqsbaij - sets the matrix type to "seqsbaij" during a call to MatSetFromOptions()

### Notes

By default if you insert values into the lower triangular part of the matrix they are simply ignored (since they are not stored and it is assumed they symmetric to the upper triangular). If you call MatSetOption(Mat,MAT_IGNORE_LOWER_TRIANGULAR,PETSC_FALSE) or use the options database -mat_ignore_lower_triangular false it will generate an error if you try to set a value in the lower triangular portion.

.seealso: MatCreateSeqSBAIJ

### Level

beginner

### Location

src/mat/impls/sbaij/seq/sbaij.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages