24#ifndef OPM_WELL_CONSTRAINTS_HEADER_INCLUDED
25#define OPM_WELL_CONSTRAINTS_HEADER_INCLUDED
27#include <opm/input/eclipse/Schedule/Well/Well.hpp>
40template<
typename Scalar,
typename IndexTraits>
class SingleWellState;
42template<
typename Scalar,
typename IndexTraits>
class WellInterfaceGeneric;
47template<
typename Scalar,
typename IndexTraits>
53 using RateConvFunc = std::function<
void(
const RegionId,
const int,
54 const std::vector<Scalar>&,
55 std::vector<Scalar>&)>;
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;
70 bool& thp_limit_violated_but_not_switched,
72 const std::optional<Well::InjectionControls>&
inj_controls = std::nullopt)
const;
77 const RateConvFunc& calcReservoirVoidageRates,
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
WellConstraints(const WellInterfaceGeneric< Scalar, IndexTraits > &well)
Constructor sets reference to well.
Definition WellConstraints.hpp:51
Definition WellInterfaceGeneric.hpp:53
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition blackoilbioeffectsmodules.hh:43
constexpr auto getPropValue()
get the value data member of a property
Definition propertysystem.hh:240