#include <VFPProdTable.hpp>
|
enum | FLO_TYPE { FLO_OIL =1
, FLO_LIQ
, FLO_GAS
, FLO_INVALID
} |
|
enum | WFR_TYPE { WFR_WOR =11
, WFR_WCT
, WFR_WGR
, WFR_INVALID
} |
|
enum | GFR_TYPE { GFR_GOR =21
, GFR_GLR
, GFR_OGR
, GFR_INVALID
} |
|
enum | ALQ_TYPE {
ALQ_GRAT =31
, ALQ_IGLR
, ALQ_TGLR
, ALQ_PUMP
,
ALQ_COMP
, ALQ_BEAN
, ALQ_UNDEF
, ALQ_INVALID
} |
|
typedef std::vector< double > | array_type |
|
|
| VFPProdTable () |
|
| VFPProdTable (const DeckKeyword &table, const UnitSystem &deck_unit_system) |
|
| VFPProdTable (int table_num, double datum_depth, FLO_TYPE flo_type, WFR_TYPE wfr_type, GFR_TYPE gfr_type, ALQ_TYPE alq_type, const std::vector< double > &flo_data, const std::vector< double > &thp_data, const std::vector< double > &wfr_data, const std::vector< double > &gfr_data, const std::vector< double > &alq_data, const array_type &data) |
|
int | getTableNum () const |
|
double | getDatumDepth () const |
|
FLO_TYPE | getFloType () const |
|
WFR_TYPE | getWFRType () const |
|
GFR_TYPE | getGFRType () const |
|
ALQ_TYPE | getALQType () const |
|
const std::vector< double > & | getFloAxis () const |
|
const std::vector< double > & | getTHPAxis () const |
|
const std::vector< double > & | getWFRAxis () const |
|
const std::vector< double > & | getGFRAxis () const |
|
const std::vector< double > & | getALQAxis () const |
|
const array_type & | getTable () const |
|
bool | operator== (const VFPProdTable &data) const |
|
std::array< size_t, 5 > | shape () const |
|
double | operator() (size_t thp_idx, size_t wfr_idx, size_t gfr_idx, size_t alq_idx, size_t flo_idx) const |
|
template<class Serializer > |
void | serializeOp (Serializer &serializer) |
|
Class for reading data from a VFPPROD (vertical flow performance production) table
◆ array_type
◆ ALQ_TYPE
Enumerator |
---|
ALQ_GRAT | |
ALQ_IGLR | |
ALQ_TGLR | |
ALQ_PUMP | |
ALQ_COMP | |
ALQ_BEAN | |
ALQ_UNDEF | |
ALQ_INVALID | |
◆ FLO_TYPE
Enumerator |
---|
FLO_OIL | |
FLO_LIQ | |
FLO_GAS | |
FLO_INVALID | |
◆ GFR_TYPE
Enumerator |
---|
GFR_GOR | |
GFR_GLR | |
GFR_OGR | |
GFR_INVALID | |
◆ WFR_TYPE
Enumerator |
---|
WFR_WOR | |
WFR_WCT | |
WFR_WGR | |
WFR_INVALID | |
◆ VFPProdTable() [1/3]
Opm::VFPProdTable::VFPProdTable |
( |
| ) |
|
◆ VFPProdTable() [2/3]
◆ VFPProdTable() [3/3]
Opm::VFPProdTable::VFPProdTable |
( |
int |
table_num, |
|
|
double |
datum_depth, |
|
|
FLO_TYPE |
flo_type, |
|
|
WFR_TYPE |
wfr_type, |
|
|
GFR_TYPE |
gfr_type, |
|
|
ALQ_TYPE |
alq_type, |
|
|
const std::vector< double > & |
flo_data, |
|
|
const std::vector< double > & |
thp_data, |
|
|
const std::vector< double > & |
wfr_data, |
|
|
const std::vector< double > & |
gfr_data, |
|
|
const std::vector< double > & |
alq_data, |
|
|
const array_type & |
data |
|
) |
| |
◆ getALQAxis()
const std::vector< double > & Opm::VFPProdTable::getALQAxis |
( |
| ) |
const |
|
inline |
◆ getALQType()
ALQ_TYPE Opm::VFPProdTable::getALQType |
( |
| ) |
const |
|
inline |
◆ getDatumDepth()
double Opm::VFPProdTable::getDatumDepth |
( |
| ) |
const |
|
inline |
◆ getFloAxis()
const std::vector< double > & Opm::VFPProdTable::getFloAxis |
( |
| ) |
const |
|
inline |
◆ getFloType()
FLO_TYPE Opm::VFPProdTable::getFloType |
( |
| ) |
const |
|
inline |
◆ getGFRAxis()
const std::vector< double > & Opm::VFPProdTable::getGFRAxis |
( |
| ) |
const |
|
inline |
◆ getGFRType()
GFR_TYPE Opm::VFPProdTable::getGFRType |
( |
| ) |
const |
|
inline |
◆ getTable()
const array_type & Opm::VFPProdTable::getTable |
( |
| ) |
const |
|
inline |
Returns the data of the table itself. For ordered access use operator()(thp_idx, wfr_idx, gfr_idx, alq_idx, flo_idx)
This gives the bottom hole pressure value in the table for the coordinate given by flo_axis = getFloAxis(); thp_axis = getTHPAxis(); ...
flo_coord = flo_axis(flo_idx); thp_coord = thp_axis(thp_idx); ...
◆ getTableNum()
int Opm::VFPProdTable::getTableNum |
( |
| ) |
const |
|
inline |
◆ getTHPAxis()
const std::vector< double > & Opm::VFPProdTable::getTHPAxis |
( |
| ) |
const |
|
inline |
◆ getWFRAxis()
const std::vector< double > & Opm::VFPProdTable::getWFRAxis |
( |
| ) |
const |
|
inline |
◆ getWFRType()
WFR_TYPE Opm::VFPProdTable::getWFRType |
( |
| ) |
const |
|
inline |
◆ operator()()
double Opm::VFPProdTable::operator() |
( |
size_t |
thp_idx, |
|
|
size_t |
wfr_idx, |
|
|
size_t |
gfr_idx, |
|
|
size_t |
alq_idx, |
|
|
size_t |
flo_idx |
|
) |
| const |
◆ operator==()
◆ serializeObject()
◆ serializeOp()
void Opm::VFPProdTable::serializeOp |
( |
Serializer & |
serializer | ) |
|
|
inline |
◆ shape()
std::array< size_t, 5 > Opm::VFPProdTable::shape |
( |
| ) |
const |
The documentation for this class was generated from the following file:
|