# MatMPIBAIJSetValuesBlocked
Direct Fortran call to replace call to `MatSetValuesBlocked()` 
## Synopsis
```
#include "petscmat.h"  
PetscErrorCode matmpibaijsetvaluesblocked_(Mat *matin, PetscInt *min, const PetscInt im[], PetscInt *nin, const PetscInt in[], const MatScalar v[], InsertMode *addvin)
```
Collective


## Input Parameters

- ***mat -*** the matrix
- ***min -*** number of input rows
- ***im -*** input rows
- ***nin -*** number of input columns
- ***in -*** input columns
- ***v -*** numerical values input
- ***addvin -*** `INSERT_VALUES` or `ADD_VALUES`



## Developer Note
This has a complete copy of `MatSetValuesBlocked_MPIBAIJ()` which is terrible code un-reuse.




## See Also
 `MatSetValuesBlocked()`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/mat/impls/baij/mpi/mpibaij.c.html#MatMPIBAIJSetValuesBlocked">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)  
