21#ifndef OPM_FRACTION_CALCULATOR_HEADER_INCLUDED
22#define OPM_FRACTION_CALCULATOR_HEADER_INCLUDED
24#include <opm/input/eclipse/Schedule/Group/GuideRate.hpp>
29template<
class Scalar>
class GroupState;
32template<
class Scalar>
class WellState;
35namespace Opm::WGHelpers {
45 const int report_step,
47 const GuideRateModel::Target
target,
51 Scalar fraction(
const std::string& name,
54 Scalar localFraction(
const std::string& name,
58 std::string parent(
const std::string& name);
62 std::pair<Scalar,int> guideRateSum(
const Group& group,
65 Scalar guideRate(
const std::string& name,
68 int groupControlledWells(
const std::string&
group_name,
70 GuideRate::RateVector getGroupRateVector(
const std::string&
group_name);
77 GuideRateModel::Target target_;
80 Phase injection_phase_;
Definition GroupState.hpp:43
Definition FractionCalculator.hpp:39
The state of a set of wells, tailored for use by the fully implicit blackoil simulator.
Definition WellState.hpp:66
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition blackoilboundaryratevector.hh:37
constexpr auto getPropValue()
get the value data member of a property
Definition propertysystem.hh:242
Definition BlackoilPhases.hpp:46