typedef enum { DMDA_BOUNDARY_NONE, DMDA_BOUNDARY_GHOSTED, DMDA_BOUNDARY_MIRROR, DMDA_BOUNDARY_PERIODIC } DMDABoundaryType;
A boundary may be of type DMDA_BOUNDARY_NONE (no ghost nodes), DMDA_BOUNDARY_GHOST (ghost nodes exist but aren't filled, you can put values into them and then apply a stencil that uses those ghost locations), DMDA_BOUNDARY_MIRROR (not yet implemented for 3d), or DMDA_BOUNDARY_PERIODIC (ghost nodes filled by the opposite edge of the domain).
Note: This is information for the boundary of the __PHYSICAL__ domain. It has nothing to do with boundaries between processes, that width is always determined by the stencil width, see DMDASetStencilWidth().
Level:beginner
Location:src/dm/impls/da/../../../../include/petscdmdatypes.h
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages