petsc-master 2015-01-27
Report Typos and Errors


Sets the index offset of the DA.


#include "petscdmda.h"   
PetscErrorCode  DMDASetOffset(DM da, PetscInt xo, PetscInt yo, PetscInt zo, PetscInt Mo, PetscInt No, PetscInt Po)
Collective on DA

Input Parameter

da - The DMDA
xo - The offset in the x direction
yo - The offset in the y direction
zo - The offset in the z direction

Notes: This is used primarily to overlap a computation on a local DA with that on a global DA without changing boundary conditions or subdomain features that depend upon the global offsets.


distributed array, degrees of freedom

See Also

DMDAGetOffset(), DMDAVecGetArray()

Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages