MatGetOwnershipRange

Returns the range of matrix rows owned by this processor, assuming that the matrix is laid out with the first n1 rows on the first processor, the next n2 rows on the second, etc. For certain parallel layouts this range may not be well defined.

Synopsis

int MatGetOwnershipRange(Mat mat,int *m,int* n)
Not Collective

Input Parameters

mat -the matrix

Output Parameters

m - the global index of the first local row
n - one more than the global index of the last local row

Keywords

matrix, get, range, ownership

Location: src/mat/interface/matrix.c
Matrix Index
Table of Contents