48 static constexpr int Water = FluidSystem::waterPhaseIdx;
49 static constexpr int Oil = FluidSystem::oilPhaseIdx;
50 static constexpr int Gas = FluidSystem::gasPhaseIdx;
51 using Scalar =
typename FluidSystem::Scalar;
52 using IndexTraits =
typename FluidSystem::IndexTraitsType;
58 template<
class EvalWell>
59 void assembleControlEqProd(
const GroupStateHelperType& groupStateHelper,
60 const WellProductionControls& controls,
62 const std::vector<EvalWell>& rates,
63 const std::function<EvalWell()>& bhp_from_thp,
64 EvalWell& control_eq)
const;
66 template<
class EvalWell>
67 void assembleControlEqInj(
const GroupStateHelperType& groupStateHelper,
68 const WellInjectionControls& controls,
70 const EvalWell& injection_rate,
71 const std::function<EvalWell()>& bhp_from_thp,
72 EvalWell& control_eq)
const;