petsc-3.4.2 2013-07-02

# DMDABoundaryType

Describes the choice for fill of ghost cells on physical domain boundaries.

### Synopsis

    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().

### See Also

DMDASetBoundaryType(), DMDACreate1d(), DMDACreate2d(), DMDACreate3d(), DMDACreate()

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