24#ifndef OPM_WELL_CONSTRAINTS_HEADER_INCLUDED
25#define OPM_WELL_CONSTRAINTS_HEADER_INCLUDED
27#include <opm/input/eclipse/Schedule/Well/Well.hpp>
43enum class WellInjectorCMode : std::uint16_t;
44enum class WellProducerCMode : std::uint16_t;
47template<
typename Scalar,
typename IndexTraits>
54 const std::vector<Scalar>&,
55 std::vector<Scalar>&)>;
59 const SummaryState& summaryState,
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,
78 bool& thp_limit_violated_but_not_switched,
80 const std::optional<Well::ProductionControls>& prod_controls = std::nullopt)
const;
Definition: DeferredLogger.hpp:57
Definition: SingleWellState.hpp:43
Class for computing well group constraints.
Definition: WellConstraints.hpp:48
bool checkIndividualConstraints(SingleWellState< Scalar, IndexTraits > &ws, const SummaryState &summaryState, const RateConvFunc &calcReservoirVoidageRates, bool &thp_limit_violated_but_not_switched, DeferredLogger &deferred_logger, const std::optional< Well::InjectionControls > &inj_controls=std::nullopt, const std::optional< Well::ProductionControls > &prod_controls=std::nullopt) const
std::function< void(const RegionId, const int, const std::vector< Scalar > &, std::vector< Scalar > &)> RateConvFunc
Definition: WellConstraints.hpp:55
WellConstraints(const WellInterfaceGeneric< Scalar, IndexTraits > &well)
Constructor sets reference to well.
Definition: WellConstraints.hpp:51
Definition: WellInterfaceGeneric.hpp:53
Definition: blackoilbioeffectsmodules.hh:43
int RegionId
Definition: WellConstraints.hpp:38