My Project
|
Public Types | |
using | Scalar = typename FluidSystem::Scalar |
using | VSpan = std::array< Scalar, 2 > |
Public Member Functions | |
PressureTable (const Scalar gravity, const int samplePoints=2000) | |
Constructor. | |
PressureTable (const PressureTable &rhs) | |
Copy constructor. | |
PressureTable (PressureTable &&rhs) | |
Move constructor. | |
PressureTable & | operator= (const PressureTable &rhs) |
Assignment operator. | |
PressureTable & | operator= (PressureTable &&rhs) |
Move-assignment operator. | |
void | equilibrate (const Region ®, const VSpan &span) |
bool | oilActive () const |
Predicate for whether or not oil is an active phase. | |
bool | gasActive () const |
Predicate for whether or not gas is an active phase. | |
bool | waterActive () const |
Predicate for whether or not water is an active phase. | |
Scalar | oil (const Scalar depth) const |
Evaluate oil phase pressure at specified depth. | |
Scalar | gas (const Scalar depth) const |
Evaluate gas phase pressure at specified depth. | |
Scalar | water (const Scalar depth) const |
Evaluate water phase pressure at specified depth. | |
|
explicit |
Constructor.
[in] | gravity | Norm of gravity vector (acceleration strength due to gravity). Normally the standardised value at Tellus equator (9.80665 m/s^2). |
[in] | samplePoints | Number of equally spaced depth sample points in each internal phase pressure table. |
Opm::EQUIL::Details::PressureTable< FluidSystem, Region >::PressureTable | ( | const PressureTable< FluidSystem, Region > & | rhs | ) |
Copy constructor.
[in] | rhs | Source object for copy initialization. |
Opm::EQUIL::Details::PressureTable< FluidSystem, Region >::PressureTable | ( | PressureTable< FluidSystem, Region > && | rhs | ) |
Move constructor.
[in,out] | rhs | Source object for move initialization. On output, left in a moved-from ("valid but unspecified") state. Internal pointers in rhs are null (unique_ptr guarantee). |
FluidSystem::Scalar Opm::EQUIL::Details::PressureTable< FluidSystem, Region >::gas | ( | const Scalar | depth | ) | const |
Evaluate gas phase pressure at specified depth.
[in] | depth | Depth of evaluation point. Should generally be within the span from the previous call to equilibrate()
|
FluidSystem::Scalar Opm::EQUIL::Details::PressureTable< FluidSystem, Region >::oil | ( | const Scalar | depth | ) | const |
Evaluate oil phase pressure at specified depth.
[in] | depth | Depth of evaluation point. Should generally be within the span from the previous call to equilibrate()
|
PressureTable< FluidSystem, Region > & Opm::EQUIL::Details::PressureTable< FluidSystem, Region >::operator= | ( | const PressureTable< FluidSystem, Region > & | rhs | ) |
Assignment operator.
[in] | rhs | Source object. |
PressureTable< FluidSystem, Region > & Opm::EQUIL::Details::PressureTable< FluidSystem, Region >::operator= | ( | PressureTable< FluidSystem, Region > && | rhs | ) |
Move-assignment operator.
[in] | rhs | Source object. On output, left in a moved-from ("valid
but unspecified") state. Internal pointers in rhs are null (unique_ptr guarantee). |
FluidSystem::Scalar Opm::EQUIL::Details::PressureTable< FluidSystem, Region >::water | ( | const Scalar | depth | ) | const |
Evaluate water phase pressure at specified depth.
[in] | depth | Depth of evaluation point. Should generally be within the span from the previous call to equilibrate()
|