DMBoundaryConditionType#
indicates what type of boundary condition is to be imposed
Synopsis#
typedef enum {
DM_BC_ESSENTIAL = 1,
DM_BC_ESSENTIAL_FIELD = 5,
DM_BC_NATURAL = 2,
DM_BC_NATURAL_FIELD = 6,
DM_BC_ESSENTIAL_BD_FIELD = 9,
DM_BC_NATURAL_RIEMANN = 10,
DM_BC_LOWER_BOUND = 4,
DM_BC_UPPER_BOUND = 8
} DMBoundaryConditionType;
Values#
DM_BC_ESSENTIAL- A Dirichlet condition using a function of the coordinatesDM_BC_ESSENTIAL_FIELD- A Dirichlet condition using a function of the coordinates and auxiliary field dataDM_BC_ESSENTIAL_BD_FIELD- A Dirichlet condition using a function of the coordinates, facet normal, and auxiliary field dataDM_BC_NATURAL- A Neumann condition using a function of the coordinatesDM_BC_NATURAL_FIELD- A Neumann condition using a function of the coordinates and auxiliary field dataDM_BC_NATURAL_RIEMANN- A flux condition which determines the state in ghost cellsDM_BC_LOWER_BOUND- A lower bound on the solution along a boundaryDM_BC_UPPER_BOUND- An upper bound on the solution along a boundary
Note#
The user can check whether a boundary condition is essential using (type & DM_BC_ESSENTIAL), and similarly for
natural conditions (type & DM_BC_NATURAL)
See Also#
DM Basics, DM, DMAddBoundary(), DSAddBoundary(), DSGetBoundary()
Level#
beginner
Location#
Examples#
src/dm/dt/fe/tests/ex1.c
src/dm/dt/fe/tests/ex2.c
src/dm/dt/tests/ex10.c
src/dm/impls/forest/tests/ex2.c
src/dm/impls/plex/tests/ex102.c
src/dm/impls/plex/tests/ex38.c
src/dm/impls/plex/tests/ex39.c
src/dm/impls/plex/tests/ex49.c
src/dm/impls/plex/tests/ex61.c
src/dm/impls/plex/tests/ex73.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages