Returns the range of indices owned by this processor, assuming that the vectors are laid out with the first n1 elements on the first processor, next n2 elements on the second, etc. For certain parallel layouts this range may not be well defined.
PetscErrorCode VecGetOwnershipRange(Vec x,PetscInt *low,PetscInt *high)
|low ||- the first local element, pass in NULL if not interested
|high ||- one more than the last local element, pass in NULL if not interested
The high argument is one more than the last element stored locally.
Fortran: PETSC_NULL_INTEGER should be used instead of NULL
MatGetOwnershipRange(), MatGetOwnershipRanges(), VecGetOwnershipRanges()