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.
|
| double | pressure () const |
| | Query a Dirichlet condition.
|
| double | outflux () const |
| | Query a Neumann condition.
|
| double | pressureDifference () const |
| | Query a Periodic condition.
|
| void | write (std::basic_ostream< charT, traits > &os) const |
| | Write type and value to an output stream.
|
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: