petsc-3.12.5 2020-03-29
MatGetOwnershipRanges
Returns the range of matrix rows owned by each process
Synopsis
#include "petscmat.h"
PetscErrorCode MatGetOwnershipRanges(Mat mat,const PetscInt **ranges)
Not Collective, unless matrix has not been allocated, then collective on Mat
Input Parameters
mat -the matrix
Output Parameters
ranges -start of each processors portion plus one more than the total length at the end
See Also
MatGetOwnershipRange(), MatGetOwnershipRangeColumn(), MatGetOwnershipRangesColumn()
Level
beginner
Location
src/mat/interface/matrix.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages