#include "petscmat.h" PetscErrorCode MatInvertBlockDiagonalMat(Mat A,Mat C)Collective on Mat
A | - the matrix |
C | - matrix with inverted block diagonal of A. This matrix should be created and may have its type set. |
Notes: the blocksize of the matrix is used to determine the blocks on the diagonal of C