# MATMPIBAIJ
MATMPIBAIJ = "mpibaij" - A matrix type to be used for distributed block sparse matrices. 
## Options Database Keys

- ***-mat_type mpibaij -*** sets the matrix type to `MATMPIBAIJ` during a call to `MatSetFromOptions()`
- ***-mat_block_size <bs> -*** set the blocksize used to store the matrix
- ***-mat_baij_mult_version version -*** indicate the version of the matrix-vector product to use  (0 often indicates using BLAS)
- ***-mat_use_hash_table <fact> -*** set hash table factor





## Note
`MatSetOptions`(,`MAT_STRUCTURE_ONLY`,`PETSC_TRUE`) may be called for this matrix type. In this no
space is allocated for the nonzero entries and any entries passed with `MatSetValues()` are ignored


## See Also
 `Mat`, MATBAIJ`, MATSEQBAIJ`, `MatCreateBAIJ`

## Level
beginner

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/mat/impls/baij/mpi/mpibaij.c.html#MATMPIBAIJ">src/mat/impls/baij/mpi/mpibaij.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/mat/impls/baij/mpi/mpibaij.c)


[Index of all Mat routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
