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;
31template<
typename Scalar,
typename IndexTraits>
class WellState;
34namespace Opm::WGHelpers {
36template<
typename Scalar,
typename IndexTraits>
44 const int report_step,
46 const GuideRateModel::Target
target,
49 Scalar fraction(
const std::string& name,
52 Scalar localFraction(
const std::string& name,
56 std::string parent(
const std::string& name);
60 std::pair<Scalar,int> guideRateSum(
const Group& group,
63 Scalar guideRate(
const std::string& name,
66 int groupControlledWells(
const std::string&
group_name,
68 GuideRate::RateVector getGroupRateVector(
const std::string&
group_name);
75 GuideRateModel::Target target_;
77 Phase injection_phase_;
Definition GroupState.hpp:41
Definition FractionCalculator.hpp:38
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 blackoilbioeffectsmodules.hh:43
constexpr auto getPropValue()
get the value data member of a property
Definition propertysystem.hh:240