petsc-3.10.2 2018-10-09
Report Typos and Errors

MatGetVariableBlockSizes

Gets a diagonal blocks of the matrix that need not be of the same size

Synopsis

#include "petscmat.h" 
PetscErrorCode MatGetVariableBlockSizes(Mat mat,PetscInt *nblocks,const PetscInt **bsizes)
Logically Collective on Mat

Input Parameters

mat -the matrix

Output Parameters

nblocks - the number of blocks on this process
bsizes - the block sizes

Notes: Currently not supported from Fortran

See Also

MatCreateSeqBAIJ(), MatCreateBAIJ(), MatGetBlockSize(), MatSetBlockSizes(), MatGetBlockSizes(), MatSetVariableBlockSizes()

Level

intermediate

Location

src/mat/interface/matrix.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages