#include "petscvec.h" PetscErrorCode VecGetOwnershipRange(Vec x,PetscInt *low,PetscInt *high)Not Collective
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 |
Fortran: NULL_INTEGER should be used instead of NULL