:orphan:
# 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
- ***-mat_type sbaij -*** sets the matrix type to `MATSBAIJ` during a call to `MatSetFromOptions()`
## See Also
[](ch_matrices), `Mat`, `MATSEQSBAIJ`, `MATMPISBAIJ`, `MatCreateSBAIJ()`, `MATSEQSBAIJ`, `MATMPISBAIJ`
## Level
beginner
## Location
src/mat/impls/sbaij/mpi/mpisbaij.c
## Examples
src/snes/tutorials/ex48.c
src/ts/tutorials/ex14.c
---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/mat/impls/sbaij/mpi/mpisbaij.c)
[Index of all Mat routines](index.md)
[Table of Contents for all manual pages](/manualpages/index.md)
[Index of all manual pages](/manualpages/singleindex.md)