|
opm-common
|
One stage of a field separator (a single FIELDSEP record). More...
#include <FieldSep.hpp>
Public Member Functions | |
| FieldSepRecord (const DeckRecord &record, const KeywordLocation &location) | |
| int | stage () const |
| Stage index (FIELDSEP records are given in increasing order). | |
| double | temperature () const |
| Stage temperature (SI). | |
| double | pressure () const |
| Stage pressure (SI). | |
| int | liquidDestination () const |
| Liquid destination: 0 => next stage (stock tank for the last stage); -1 => add to stock-tank oil. More... | |
| int | vaporDestination () const |
| Vapour destination: 0 => stock tank / surface gas. | |
| int | kvalueTableNumber () const |
| K-value table number (0 => use the equation of state). | |
| int | gasPlantTableNumber () const |
| Gas-plant table number, references a GPTABLE (0 => use the EoS). | |
| std::optional< int > | surfaceEosNumber () const |
| Surface equation-of-state region number. More... | |
| std::optional< double > | nglDensityTemperature () const |
| NGL-density-evaluation temperature (SI). Nullopt if defaulted. | |
| std::optional< double > | nglDensityPressure () const |
| NGL-density-evaluation pressure (SI). Nullopt if defaulted. | |
| bool | operator== (const FieldSepRecord &data) const |
| template<class Serializer > | |
| void | serializeOp (Serializer &serializer) |
Static Public Member Functions | |
| static FieldSepRecord | serializationTestObject () |
One stage of a field separator (a single FIELDSEP record).
| int Opm::FieldSepRecord::liquidDestination | ( | ) | const |
Liquid destination: 0 => next stage (stock tank for the last stage); -1 => add to stock-tank oil.
| std::optional< int > Opm::FieldSepRecord::surfaceEosNumber | ( | ) | const |
Surface equation-of-state region number.
Nullopt if defaulted: 0 is a valid (0-based) EoS number, so absence is expressed directly.