VFPHelpers.hpp
Go to the documentation of this file.
87 int ind_[2]; //[First element greater than or equal to value, Last element smaller than or equal to value]
88 double inv_dist_; // 1 / distance between the two end points of the segment. Used to calculate derivatives and uses 1.0 / 0.0 = 0.0 as a convention
T getWFR(const VFPProdTable &table, const T &aqua, const T &liquid, const T &vapour) VFPEvaluation interpolate(const VFPProdTable &table, const InterpData &flo_i, const InterpData &thp_i, const InterpData &wfr_i, const InterpData &gfr_i, const InterpData &alq_i) VFPEvaluation bhp(const VFPProdTable &table, const double aqua, const double liquid, const double vapour, const double thp, const double alq, const double explicit_wfr, const double explicit_gfr, const bool use_vfpexplicit) VFPEvaluation operator*(double lhs, const VFPEvaluation &rhs) std::optional< std::pair< double, double > > intersectWithIPR(const VFPProdTable &table, const double thp, const double wfr, const double gfr, const double alq, const double ipr_a, const double ipr_b, const std::function< double(const double)> &adjust_bhp) std::pair< double, double > getMinimumBHPCoordinate(const VFPProdTable &table, const double thp, const double wfr, const double gfr, const double alq) TYPE getType(const TABLE &table) bool hasTable(const std::map< int, std::reference_wrapper< const T > > &tables, int table_id) Definition: VFPHelpers.hpp:162 T getGFR(const VFPProdTable &table, const T &aqua, const T &liquid, const T &vapour) double findTHP(const std::vector< double > &bhp_array, const std::vector< double > &thp_array, double bhp) InterpData findInterpData(const double value_in, const std::vector< double > &values) T getFlo(const VFPProdTable &table, const T &aqua, const T &liquid, const T &vapour) const T & getTable(const std::map< int, std::reference_wrapper< const T > > &tables, int table_id) VFPEvaluation operator-(VFPEvaluation lhs, const VFPEvaluation &rhs) VFPEvaluation operator+(VFPEvaluation lhs, const VFPEvaluation &rhs) Definition: BlackoilPhases.hpp:27 Definition: VFPHelpers.hpp:85 Definition: VFPHelpers.hpp:103 |