40 using Scalar =
decltype(getValue(Value{}));
42 RatioCalculator(
int gasCompIdx,
45 std::string_view name);
47 void disOilVapWatVolumeRatio(Value& volumeRatio,
50 const Value& pressure,
51 const std::vector<Value>& cmix_s,
52 const std::vector<Value>& b_perfcells_dense,
55 void gasOilPerfRateInj(
const std::vector<Value>& cq_s,
59 const Value& pressure,
61 const bool waterActive,
64 void gasOilPerfRateProd(std::vector<Value>& cq_s,
69 const bool waterActive,
70 const bool isProducer)
const;
72 void gasOilVolumeRatio(Value& volumeRatio,
75 const Value& pressure,
76 const std::vector<Value>& cmix_s,
77 const std::vector<Value>& b_perfcells_dense,
80 void gasWaterPerfRateInj(
const std::vector<Value>& cq_s,
84 const Value& pressure,
87 void gasWaterPerfRateProd(std::vector<Value>& cq_s,
91 const bool isProducer)
const;