VFPHelpers.hpp
Go to the documentation of this file.
68 int ind_[2]; //[First element greater than or equal to value, Last element smaller than or equal to value]
69 Scalar 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
Definition: VFPHelpers.hpp:139 static Scalar findTHP(const std::vector< Scalar > &bhp_array, const std::vector< double > &thp_array, Scalar bhp, const bool find_largest=true) static std::optional< std::pair< Scalar, Scalar > > intersectWithIPR(const VFPProdTable &table, const Scalar thp, const Scalar wfr, const Scalar gfr, const Scalar alq, const Scalar ipr_a, const Scalar ipr_b, const std::function< Scalar(const Scalar)> &adjust_bhp) static detail::VFPEvaluation< Scalar > interpolate(const VFPInjTable &table, const detail::InterpData< Scalar > &flo_i, const detail::InterpData< Scalar > &thp_i) static detail::InterpData< Scalar > findInterpData(const Scalar value_in, const std::vector< double > &values) static detail::VFPEvaluation< Scalar > bhp(const VFPInjTable &table, const Scalar aqua, const Scalar liquid, const Scalar vapour, const Scalar thp) static detail::VFPEvaluation< Scalar > bhp(const VFPProdTable &table, const Scalar aqua, const Scalar liquid, const Scalar vapour, const Scalar thp, const Scalar alq, const Scalar explicit_wfr, const Scalar explicit_gfr, const bool use_vfpexplicit) static detail::VFPEvaluation< Scalar > interpolate(const VFPProdTable &table, const detail::InterpData< Scalar > &flo_i, const detail::InterpData< Scalar > &thp_i, const detail::InterpData< Scalar > &wfr_i, const detail::InterpData< Scalar > &gfr_i, const detail::InterpData< Scalar > &alq_i) static std::pair< Scalar, Scalar > getMinimumBHPCoordinate(const VFPProdTable &table, const Scalar thp, const Scalar wfr, const Scalar gfr, const Scalar alq) T getWFR(const VFPProdTable &table, const T &aqua, const T &liquid, const T &vapour) VFPEvaluation< Scalar > operator+(VFPEvaluation< Scalar > lhs, const VFPEvaluation< Scalar > &rhs) VFPEvaluation< Scalar > operator-(VFPEvaluation< Scalar > lhs, const VFPEvaluation< Scalar > &rhs) VFPEvaluation< Scalar > operator*(Scalar lhs, const VFPEvaluation< Scalar > &rhs) TYPE getType(const TABLE &table) bool hasTable(const std::map< int, std::reference_wrapper< const T > > &tables, int table_id) Definition: VFPHelpers.hpp:125 T getGFR(const VFPProdTable &table, const T &aqua, const T &liquid, const T &vapour) 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) Definition: blackoilboundaryratevector.hh:37 Definition: VFPHelpers.hpp:66 Definition: VFPHelpers.hpp:44 |