#include "petscmat.h" PetscErrorCode MatGetOwnershipRanges(Mat mat,const PetscInt **ranges)Not Collective, unless matrix has not been allocated, then collective on Mat
mat | - the matrix |
ranges | - start of each processors portion plus one more than the total length at the end |