:orphan:
# ISBlockGetLocalSize
Returns the local number of blocks in the index set of `ISType` `ISBLOCK`
## Synopsis
```
#include "petscis.h"
PetscErrorCode ISBlockGetLocalSize(IS is, PetscInt *size)
```
Not Collective
## Input Parameter
- ***is -*** the index set
## Output Parameter
- ***size -*** the local number of blocks
## See Also
[](sec_scatter), `IS`, `ISGetBlockSize()`, `ISBlockGetSize()`, `ISGetSize()`, `ISCreateBlock()`, `ISBLOCK`
## Level
intermediate
## Location
src/vec/is/is/impls/block/block.c
## Examples
src/vec/is/is/tutorials/ex3.c
src/vec/is/is/tutorials/ex3f90.F90
## Implementations
ISBlockGetLocalSize_Block in src/vec/is/is/impls/block/block.c
---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/vec/is/is/impls/block/block.c)
[Index of all IS routines](index.md)
[Table of Contents for all manual pages](/manualpages/index.md)
[Index of all manual pages](/manualpages/singleindex.md)