petsc4py.typing.MatBlockSizeSpec#

petsc4py.typing.MatBlockSizeSpec = int | tuple[int, int]#

The row and column block sizes.

If a single int is provided then rows and columns share the same block size.