21 #ifndef OPM_PARSER_ECLIPSE_ECLIPSESTATE_TABLES_VFPINJTABLE_HPP_
22 #define OPM_PARSER_ECLIPSE_ECLIPSESTATE_TABLES_VFPINJTABLE_HPP_
26 #include <opm/common/utility/platform_dependent/disable_warnings.h>
28 #include <boost/multi_array.hpp>
30 #include <opm/common/utility/platform_dependent/reenable_warnings.h>
40 typedef boost::array<array_type::index, 2>
extents;
69 void init(
int table_num,
72 const std::vector<double>& flo_data,
73 const std::vector<double>& thp_data,
74 const array_type& data);
143 double m_datum_depth;
147 std::vector<double> m_flo_data;
148 std::vector<double> m_thp_data;
161 static void scaleValues(std::vector<double>& values,
162 const double& scaling_factor);
164 static void convertFloToSI(
const FLO_TYPE& type,
165 std::vector<double>& values,
166 std::shared_ptr<Opm::UnitSystem> unit_system);
167 static void convertTHPToSI(std::vector<double>& values,
168 std::shared_ptr<Opm::UnitSystem> unit_system);
const std::vector< double > & getTHPAxis() const
Definition: VFPInjTable.hpp:118
FLO_TYPE
Rate type.
Definition: VFPInjTable.hpp:43
boost::multi_array< double, 2 > array_type
Definition: VFPInjTable.hpp:39
std::shared_ptr< const DeckKeyword > DeckKeywordConstPtr
Definition: DeckKeyword.hpp:71
const array_type & getTable() const
Definition: VFPInjTable.hpp:136
Definition: VFPInjTable.hpp:44
FLO_TYPE getFloType() const
Definition: VFPInjTable.hpp:102
Definition: VFPInjTable.hpp:45
boost::array< array_type::index, 2 > extents
Definition: VFPInjTable.hpp:40
Definition: VFPInjTable.hpp:37
VFPInjTable()
Definition: VFPInjTable.hpp:53
void init(int table_num, double datum_depth, FLO_TYPE flo_type, const std::vector< double > &flo_data, const std::vector< double > &thp_data, const array_type &data)
Definition: VFPInjTable.hpp:46
int getTableNum() const
Definition: VFPInjTable.hpp:86
double getDatumDepth() const
Definition: VFPInjTable.hpp:94
const std::vector< double > & getFloAxis() const
Definition: VFPInjTable.hpp:110
Definition: VFPInjTable.hpp:47