VecGetOwnershipRange

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.

Synopsis

int VecGetOwnershipRange(Vec x,int *low,int *high)
Not Collective

Input Parameter

x -the vector

Output Parameters

low - the first local element
high - one more than the last local element

Note

The high argument is one more than the last element stored locally.

Keywords

vector, get, range, ownership

Examples

src/vec/examples/tutorials/ex3f.F
src/vec/examples/tutorials/ex3.c

Location: src/vec/interface/vector.c
Vector Index
Table of Contents