24#ifndef OPM_WELL_ASSEMBLE_HEADER_INCLUDED
25#define OPM_WELL_ASSEMBLE_HEADER_INCLUDED
27#include <opm/input/eclipse/Schedule/ScheduleTypes.hpp>
28#include <opm/input/eclipse/Schedule/Well/WellEnums.hpp>
37template<
class Scalar>
class GroupState;
40template<
typename Flu
idSystem>
class WellInterfaceFluidSystem;
41template<
typename Scalar,
typename IndexTraits>
class WellState;
42struct WellInjectionControls;
43struct WellProductionControls;
45template<
typename Flu
idSystem>
47 static constexpr int Water = FluidSystem::waterPhaseIdx;
48 static constexpr int Oil = FluidSystem::oilPhaseIdx;
49 static constexpr int Gas = FluidSystem::gasPhaseIdx;
50 using Scalar =
typename FluidSystem::Scalar;
51 using IndexTraits =
typename FluidSystem::IndexTraitsType;
56 template<
class EvalWell>
59 const Schedule& schedule,
60 const SummaryState& summaryState,
61 const WellProductionControls& controls,
63 const std::vector<EvalWell>& rates,
64 const std::function<EvalWell()>& bhp_from_thp,
68 template<
class EvalWell>
71 const Schedule& schedule,
72 const SummaryState& summaryState,
73 const WellInjectionControls& controls,
75 const EvalWell& injection_rate,
76 const std::function<EvalWell()>& bhp_from_thp,
Definition: DeferredLogger.hpp:57
Definition: GroupState.hpp:41
Definition: WellAssemble.hpp:46
WellAssemble(const WellInterfaceFluidSystem< FluidSystem > &well)
void assembleControlEqInj(const WellState< Scalar, IndexTraits > &well_state, const GroupState< Scalar > &group_state, const Schedule &schedule, const SummaryState &summaryState, const WellInjectionControls &controls, const EvalWell &bhp, const EvalWell &injection_rate, const std::function< EvalWell()> &bhp_from_thp, EvalWell &control_eq, DeferredLogger &deferred_logger) const
void assembleControlEqProd(const WellState< Scalar, IndexTraits > &well_state, const GroupState< Scalar > &group_state, const Schedule &schedule, const SummaryState &summaryState, const WellProductionControls &controls, const EvalWell &bhp, const std::vector< EvalWell > &rates, const std::function< EvalWell()> &bhp_from_thp, EvalWell &control_eq, DeferredLogger &deferred_logger) const
Definition: WellInterfaceFluidSystem.hpp:49
Definition: WellState.hpp:66
Definition: blackoilboundaryratevector.hh:39