PETSc version v3.15.4-941-g333c02ea7d
Returns the range of indices owned by EACH 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 VecGetOwnershipRanges(Vec x,const PetscInt *ranges)
|range ||- array of length size+1 with the start and end+1 for each process
The high argument is one more than the last element stored locally.
Fortran: You must PASS in an array of length size+1
If the ranges are used after all vectors that share the ranges has been destroyed then the program will crash accessing ranges.
MatGetOwnershipRange(), MatGetOwnershipRanges(), VecGetOwnershipRange()
Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages