DMStagSetBoundaryTypes#
set DMSTAG
boundary types
Synopsis#
PetscErrorCode DMStagSetBoundaryTypes(DM dm, DMBoundaryType boundaryType0, DMBoundaryType boundaryType1, DMBoundaryType boundaryType2)
Logically Collective; boundaryType0, boundaryType1, and boundaryType2 must contain common values
Input Parameters#
dm - the
DMSTAG
objectboundaryType2 - boundary type for x direction
boundaryType1 - boundary type for y direction, not set for one dimensional problems
boundaryType0 - boundary type for z direction, not set for one and two dimensional problems
Note#
Arguments corresponding to higher dimensions are ignored for 1D and 2D grids.
See Also#
DMSTAG: Staggered, Structured Grid, DMSTAG
, DMBoundaryType
, DMStagCreate1d()
, DMStagCreate2d()
, DMStagCreate3d()
, DMDASetBoundaryType()
Level#
advanced
Location#
Index of all DMStag routines
Table of Contents for all manual pages
Index of all manual pages