24 #ifndef OPM_WELL_CONSTRAINTS_HEADER_INCLUDED 25 #define OPM_WELL_CONSTRAINTS_HEADER_INCLUDED 27 #include <opm/input/eclipse/Schedule/Well/Well.hpp> 40 template<
typename Scalar,
typename IndexTraits>
class SingleWellState;
42 template<
typename Scalar,
typename IndexTraits>
class WellInterfaceGeneric;
43 enum class WellInjectorCMode : std::uint16_t;
44 enum class WellProducerCMode : std::uint16_t;
47 template<typename Scalar, typename IndexTraits>
53 using RateConvFunc = std::function<void(
const RegionId,
const int,
54 const std::vector<Scalar>&,
55 std::vector<Scalar>&)>;
59 const SummaryState& summaryState,
60 const RateConvFunc& calcReservoirVoidageRates,
61 bool& thp_limit_violated_but_not_switched,
63 const std::optional<Well::InjectionControls>& inj_controls = std::nullopt,
64 const std::optional<Well::ProductionControls>& prod_controls = std::nullopt)
const;
69 const SummaryState& summaryState,
70 bool& thp_limit_violated_but_not_switched,
72 const std::optional<Well::InjectionControls>& inj_controls = std::nullopt)
const;
76 const SummaryState& summaryState,
77 const RateConvFunc& calcReservoirVoidageRates,
78 bool& thp_limit_violated_but_not_switched,
80 const std::optional<Well::ProductionControls>& prod_controls = std::nullopt)
const;
87 #endif // OPM_WELL_CONSTRAINTS_HEADER_INCLUDED WellConstraints(const WellInterfaceGeneric< Scalar, IndexTraits > &well)
Constructor sets reference to well.
Definition: WellConstraints.hpp:51
Class for computing well group constraints.
Definition: WellConstraints.hpp:48
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition: blackoilbioeffectsmodules.hh:45
Definition: DeferredLogger.hpp:56
Definition: BlackoilWellModelRestart.hpp:42
Definition: BlackoilWellModelGeneric.hpp:75