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.
|
| |
|
| enum | BCType |
| | Enum for the allowed boundary condition types. More...
|
| |
|
| BCBase () |
| | Default constructor, that makes a Neumann condition with value 0.0.
|
| |
| | BCBase (BCType type, double value) |
| | Constructor taking a type and value.
|
| |
| bool | isDirichlet () const |
| | Type query.
|
| |
| bool | isNeumann () const |
| | Type query.
|
| |
| bool | isPeriodic () const |
| | Type query.
|
| |
|
BCType | type_ |
| |
|
double | value_ |
| |
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: