20 #ifndef OPM_FLOWBCMANAGER_HEADER_INCLUDED
21 #define OPM_FLOWBCMANAGER_HEADER_INCLUDED
23 #include <opm/core/pressure/flow_bc.h>
25 struct UnstructuredGrid;
58 void append(
const FlowBCType type,
63 enum Side { Xmin, Xmax, Ymin, Ymax, Zmin, Zmax };
73 const double pressure);
85 void fluxSide(
const UnstructuredGrid& grid,
104 #endif // OPM_FLOWBCMANAGER_HEADER_INCLUDED
Side
Defines the canonical sides for logical cartesian grids.
Definition: FlowBCManager.hpp:63
void fluxSide(const UnstructuredGrid &grid, const Side side, const double flux)
Add BC_FLUX_TOTVOL boundary conditions to all faces on a given side.
Definition: FlowBCManager.cpp:116
This class manages a FlowBoundaryConditions struct in the sense that it encapsulates creation and des...
Definition: FlowBCManager.hpp:34
FlowBCManager()
Default constructor sets up empty boundary conditions.
Definition: FlowBCManager.cpp:41
const FlowBoundaryConditions * c_bcs() const
Access the managed boundary conditions.
Definition: FlowBCManager.cpp:145
void append(const FlowBCType type, const int face, const double value)
Append a single boundary condition.
Definition: FlowBCManager.cpp:76
void clear()
Remove all appended BCs.
Definition: FlowBCManager.cpp:60
~FlowBCManager()
Destructor.
Definition: FlowBCManager.cpp:52
void pressureSide(const UnstructuredGrid &grid, const Side side, const double pressure)
Add BC_PRESSURE boundary conditions to all faces on a given side.
Definition: FlowBCManager.cpp:93