#include "petscmat.h" PetscErrorCode MatSetBlockSizesFromMats(Mat mat,Mat fromRow,Mat fromCol)Logically Collective on Mat
mat | - the matrix | |
fromRow | - matrix from which to copy row block size | |
fromCol | - matrix from which to copy column block size (can be same as fromRow) |