# MatFDColoringSetBlockSize
Sets block size for efficient inserting entries of Jacobian matrix. 
## Synopsis
```
#include "petscmat.h" 
PetscErrorCode MatFDColoringSetBlockSize(MatFDColoring matfd, PetscInt brows, PetscInt bcols)
```
Logically Collective


## Input Parameters

- ***coloring -*** the coloring context
- ***brows -*** number of rows in the block
- ***bcols -*** number of columns in the block





## See Also
 `Mat`, `MatFDColoring`, `MatFDColoringCreate()`, `MatFDColoringSetFromOptions()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/mat/matfd/fdmatrix.c.html#MatFDColoringSetBlockSize">src/mat/matfd/fdmatrix.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/mat/matfd/fdmatrix.c)


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