petsc-3.7.1 2016-05-15
Report Typos and Errors

DMBoundaryType

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

Synopsis

typedef enum {DM_BOUNDARY_NONE, DM_BOUNDARY_GHOSTED, DM_BOUNDARY_MIRROR, DM_BOUNDARY_PERIODIC, DM_BOUNDARY_TWIST} DMBoundaryType;
Many br

A boundary may be of type DM_BOUNDARY_NONE (no ghost nodes), DM_BOUNDARY_GHOSTED (ghost vertices/cells Many brexist but aren't filled, you can put values into them and then apply a stencil that uses those ghost locations), Many brDM_BOUNDARY_MIRROR (not yet implemented for 3d), DM_BOUNDARY_PERIODIC (ghost vertices/cells filled by the opposite Many bredge of the domain), or DM_BOUNDARY_TWIST (like periodic, only glued backwards like a Mobius strip). Many br

Note: This is information for the boundary of the __PHYSICAL__ domain. It has nothing to do with boundaries between Many brprocesses, that width is always determined by the stencil width, see DMDASetStencilWidth(). Many br

See Also

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

Level:beginner
Location:
src/dm/../../include/petscdmtypes.h
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/dm/examples/tutorials/ex13f90aux.F90.html