DMDAGetBoundaryType#
Gets the type of ghost nodes on domain boundaries.
Synopsis#
#include "petscdmda.h"
PetscErrorCode DMDAGetBoundaryType(DM da, DMBoundaryType *bx, DMBoundaryType *by, DMBoundaryType *bz)
Not Collective
Input Parameter#
da - The
DMDA
Output Parameters#
bx - x boundary type, one of
DM_BOUNDARY_NONE
,DM_BOUNDARY_GHOSTED
,DM_BOUNDARY_PERIODIC
by - y boundary type, one of
DM_BOUNDARY_NONE
,DM_BOUNDARY_GHOSTED
,DM_BOUNDARY_PERIODIC
bz - z boundary type, one of
DM_BOUNDARY_NONE
,DM_BOUNDARY_GHOSTED
,DM_BOUNDARY_PERIODIC
See Also#
DMDA - Creating vectors for structured grids, DMDASetBoundaryType()
, DM
, DMDA
, DMDACreate()
, DMDestroy()
, DMBoundaryType
, DM_BOUNDARY_NONE
, DM_BOUNDARY_GHOSTED
, DM_BOUNDARY_PERIODIC
Level#
intermediate
Location#
Index of all DMDA routines
Table of Contents for all manual pages
Index of all manual pages