DAGetOwnershipRange

Gets the ranges of indices in the x, y and z direction that are owned by each process

Synopsis

#include "petscda.h"   
PetscErrorCode PETSCDM_DLLEXPORT DAGetOwnershipRange(DA da,PetscInt **lx,PetscInt **ly,PetscInt **lz)
Not Collective

Input Parameter

da -the DA object

Output Parameter

lx - ownership along x direction (optional)
ly - ownership along y direction (optional)
lz - ownership along z direction (optional)

Note: these correspond to the optional final arguments passed to DACreate(), DACreate2d(), DACreate3d()

In Fortran one must pass in arrays lx, ly, and lz that are long enough to hold the values; the sixth, seventh and eighth arguments from DAGetInfo()

See Also

DAGetCorners(), DAGetGhostCorners(), DACreate(), DACreate1d(), DACreate2d(), DACreate3d()

Level:intermediate
Location:
src/dm/da/src/da2.c
Index of all DA routines
Table of Contents for all manual pages
Index of all manual pages