MatSetVariableBlockSizes#
Sets diagonal point-blocks of the matrix that need not be of the same size
Synopsis#
#include "petscmat.h"
PetscErrorCode MatSetVariableBlockSizes(Mat mat, PetscInt nblocks, const PetscInt bsizes[])
Not Collective
Input Parameters#
mat - the matrix
nblocks - the number of blocks on this process, each block can only exist on a single MPI process
bsizes - the block sizes
Note#
Currently used by PCVPBJACOBI for MATAIJ matrices
See Also#
Matrices, Mat, MatCreateSeqBAIJ(), MatCreateBAIJ(), MatGetBlockSize(), MatSetBlockSizes(), MatGetBlockSizes(), MatGetVariableBlockSizes(),
MatComputeVariableBlockEnvelope(), PCVPBJACOBI
Level#
intermediate
Location#
Examples#
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages