39class FractionCalculator
44 FractionCalculator(
const Schedule& schedule,
45 const GroupStateHelperType& groupStateHelper,
46 const SummaryState& summary_state,
47 const int report_step,
48 const GuideRate* guide_rate,
49 const GuideRateModel::Target target,
50 const bool is_producer,
51 const Phase injection_phase);
52 Scalar fraction(
const std::string& name,
53 const std::string& control_group_name,
54 const bool always_include_this);
55 Scalar localFraction(
const std::string& name,
56 const std::string& always_included_child);
59 std::string parent(
const std::string& name);
63 std::pair<Scalar,int> guideRateSum(
const Group& group,
64 const std::string& always_included_child,
65 const bool always_use_potentials);
66 Scalar guideRate(
const std::string& name,
67 const std::string& always_included_child,
68 const bool always_use_potentials);
69 int groupControlledWells(
const std::string& group_name,
70 const std::string& always_included_child);
71 GuideRate::RateVector getGroupRateVector(
const std::string& group_name);
72 const GroupStateHelperType& groupStateHelper()
const {
return groupStateHelper_; }
74 const Schedule& schedule_;
75 const GroupStateHelperType& groupStateHelper_;
76 const SummaryState& summary_state_;
78 const GuideRate* guide_rate_;
79 GuideRateModel::Target target_;
81 Phase injection_phase_;