24#ifndef OPM_WELL_CONSTRAINTS_HEADER_INCLUDED
25#define OPM_WELL_CONSTRAINTS_HEADER_INCLUDED
27#include <opm/input/eclipse/Schedule/Well/Well.hpp>
42enum class WellInjectorCMode;
43enum class WellProducerCMode;
53 const std::vector<Scalar>&,
54 std::vector<Scalar>&)>;
58 const SummaryState& summaryState,
60 bool& thp_limit_violated_but_not_switched,
62 const std::optional<Well::InjectionControls>& inj_controls = std::nullopt,
63 const std::optional<Well::ProductionControls>& prod_controls = std::nullopt)
const;
68 const SummaryState& summaryState,
69 bool& thp_limit_violated_but_not_switched,
71 const std::optional<Well::InjectionControls>& inj_controls = std::nullopt)
const;
75 const SummaryState& summaryState,
77 bool& thp_limit_violated_but_not_switched,
79 const std::optional<Well::ProductionControls>& prod_controls = std::nullopt)
const;
Definition: DeferredLogger.hpp:57
Definition: SingleWellState.hpp:42
Class for computing well group constraints.
Definition: WellConstraints.hpp:47
std::function< void(const RegionId, const int, const std::vector< Scalar > &, std::vector< Scalar > &)> RateConvFunc
Definition: WellConstraints.hpp:54
bool checkIndividualConstraints(SingleWellState< Scalar > &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
WellConstraints(const WellInterfaceGeneric< Scalar > &well)
Constructor sets reference to well.
Definition: WellConstraints.hpp:50
Definition: WellInterfaceGeneric.hpp:51
Definition: blackoilboundaryratevector.hh:37
int RegionId
Definition: WellConstraints.hpp:37