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
objectboundaryTypeX - boundary type for x direction
boundaryTypeY - boundary type for y direction, not set for one dimensional problems
boundaryTypeZ - 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