My Project
|
Class for reading data from a VFPPROD (vertical flow performance production) table. More...
#include <VFPProdTable.hpp>
Public Member Functions | |
VFPProdTable (const DeckKeyword &table, bool gaslift_opt_active, 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 std::vector< double > &data) | |
int | getTableNum () const |
const KeywordLocation & | location () const |
int | name () 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 std::vector< double > & | getTable () const |
Returns the data of the table itself. | |
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) |
Static Public Member Functions | |
static Dimension | ALQDimension (const ALQ_TYPE &alq_type, const UnitSystem &unit_system) |
static VFPProdTable | serializationTestObject () |
Class for reading data from a VFPPROD (vertical flow performance production) table.
|
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); ...