A class for representing a flow boundary condition.
More...
#include <BoundaryConditions.hpp>
|
|
| FlowBC () |
| | Default constructor, that makes a noflow condition (Neumann, value 0.0).
|
| |
| | FlowBC (BCType type, double value) |
| | Constructor taking a type and value. More...
|
| |
| double | pressure () const |
| | Query a Dirichlet condition. More...
|
| |
| double | outflux () const |
| | Query a Neumann condition. More...
|
| |
| double | pressureDifference () const |
| | Query a Periodic condition. More...
|
| |
| void | write (std::basic_ostream< charT, traits > &os) const |
| | Write type and value to an output stream. More...
|
| |
A class for representing a flow boundary condition.
◆ FlowBC()
| Opm::FlowBC::FlowBC |
( |
BCType |
type, |
|
|
double |
value |
|
) |
| |
|
inline |
Constructor taking a type and value.
- Parameters
-
| type | the condition type. |
| value | the condition value. |
◆ outflux()
| double Opm::FlowBC::outflux |
( |
| ) |
const |
|
inline |
Query a Neumann condition.
- Returns
- the outwards flux condition value.
◆ pressure()
| double Opm::FlowBC::pressure |
( |
| ) |
const |
|
inline |
Query a Dirichlet condition.
- Returns
- the pressure condition value
◆ pressureDifference()
| double Opm::FlowBC::pressureDifference |
( |
| ) |
const |
|
inline |
Query a Periodic condition.
- Returns
- the pressure difference condition value.
The documentation for this class was generated from the following file: