MatGetBlockSize

Returns the matrix block size; useful especially for the block row and block diagonal formats.

Synopsis

int MatGetBlockSize(Mat mat,int *bs)
Not Collective

Input Parameter

mat -the matrix

Output Parameter

bs -block size

Notes

Block diagonal formats are MATSEQBDIAG, MATMPIBDIAG. Block row formats are MATSEQBAIJ, MATMPIBAIJ

Keywords

matrix, get, block, size

See Also

MatCreateSeqBAIJ(), MatCreateMPIBAIJ(), MatCreateSeqBDiag(), MatCreateMPIBDiag()

Location: src/mat/interface/matrix.c
Matrix Index
Table of Contents