petsc-3.3-p7 2013-05-11

PetscLayoutGetRange

gets the range of values owned by this process

Synopsis

#include "petscvec.h"   
#undef __FUNCT__  
#define __FUNCT__ "PetscLayoutGetRange"
PetscErrorCode  PetscLayoutGetRange(PetscLayout map,PetscInt *rstart,PetscInt *rend)
Not Collective

Input Parameters

map -pointer to the map

Output Parameters

rstart - first index owned by this process
rend - one more than the last index owned by this process

Notes

Call this after the call to PetscLayoutSetUp()

Fortran Notes

Not available from Fortran

See Also

PetscLayoutCreate(), PetscLayoutSetLocalSize(), PetscLayoutGetLocalSize(), PetscLayoutSetSize(),
PetscLayoutGetSize(), PetscLayoutGetRanges(), PetscLayoutSetBlockSize(), PetscLayoutGetSize(), PetscLayoutSetUp()

Level:developer
Location:
src/vec/vec/impls/mpi/pmap.c
Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages