#include <VFPInjTable.hpp>

Public Types

enum  FLO_TYPE { FLO_OIL =1 , FLO_WAT , FLO_GAS , FLO_INVALID }
 
typedef std::vector< double > array_type
 

Public Member Functions

 VFPInjTable ()
 
 VFPInjTable (const DeckKeyword &table, const UnitSystem &deck_unit_system)
 
int getTableNum () const
 
double getDatumDepth () const
 
FLO_TYPE getFloType () const
 
const std::vector< double > & getFloAxis () const
 
const std::vector< double > & getTHPAxis () const
 
const array_typegetTable () const
 
bool operator== (const VFPInjTable &data) const
 
std::array< size_t, 2 > shape () const
 
double operator() (size_t thp_idx, size_t flo_idx) const
 
template<class Serializer >
void serializeOp (Serializer &serializer)
 

Static Public Member Functions

static VFPInjTable serializeObject ()
 

Member Typedef Documentation

◆ array_type

typedef std::vector<double> Opm::VFPInjTable::array_type

Member Enumeration Documentation

◆ FLO_TYPE

Enumerator
FLO_OIL 
FLO_WAT 
FLO_GAS 
FLO_INVALID 

Constructor & Destructor Documentation

◆ VFPInjTable() [1/2]

Opm::VFPInjTable::VFPInjTable ( )

◆ VFPInjTable() [2/2]

Opm::VFPInjTable::VFPInjTable ( const DeckKeyword table,
const UnitSystem deck_unit_system 
)

Member Function Documentation

◆ getDatumDepth()

double Opm::VFPInjTable::getDatumDepth ( ) const
inline

◆ getFloAxis()

const std::vector< double > & Opm::VFPInjTable::getFloAxis ( ) const
inline

◆ getFloType()

FLO_TYPE Opm::VFPInjTable::getFloType ( ) const
inline

◆ getTable()

const array_type & Opm::VFPInjTable::getTable ( ) const
inline

Returns the data of the table itself. For ordered access use operator()(thp_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::VFPInjTable::getTableNum ( ) const
inline

◆ getTHPAxis()

const std::vector< double > & Opm::VFPInjTable::getTHPAxis ( ) const
inline

◆ operator()()

double Opm::VFPInjTable::operator() ( size_t  thp_idx,
size_t  flo_idx 
) const

◆ operator==()

bool Opm::VFPInjTable::operator== ( const VFPInjTable data) const

◆ serializeObject()

static VFPInjTable Opm::VFPInjTable::serializeObject ( )
static

◆ serializeOp()

template<class Serializer >
void Opm::VFPInjTable::serializeOp ( Serializer serializer)
inline

◆ shape()

std::array< size_t, 2 > Opm::VFPInjTable::shape ( ) const

The documentation for this class was generated from the following file: