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 {
44 const int report_step,
46 const GuideRateModel::Target
target,
50 Scalar fraction(
const std::string& name,
53 Scalar localFraction(
const std::string& name,
57 std::string parent(
const std::string& name);
58 Scalar guideRateSum(
const Group& group,
60 Scalar guideRate(
const std::string& name,
62 int groupControlledWells(
const std::string&
group_name,
64 GuideRate::RateVector getGroupRateVector(
const std::string&
group_name);
70 GuideRateModel::Target target_;
73 Phase injection_phase_;
Definition GroupState.hpp:38
Definition FractionCalculator.hpp:39
The state of a set of wells, tailored for use by the fully implicit blackoil simulator.
Definition WellState.hpp:62
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