24#ifndef OPM_WELL_GROUP_CONSTRAINTS_HEADER_INCLUDED
25#define OPM_WELL_GROUP_CONSTRAINTS_HEADER_INCLUDED
39enum class InjectorType;
43class WellInterfaceGeneric;
52 using RateConvFunc = std::function<
void(
const RegionId,
const int,
const std::optional<std::string>&, std::vector<double>&)>;
54 bool checkGroupConstraints(
WellState& well_state,
58 const RateConvFunc& rateConverter,
62 std::pair<bool, double>
63 checkGroupConstraintsInj(
const Group& group,
69 const RateConvFunc& rateConverter,
72 std::pair<bool, double>
73 checkGroupConstraintsProd(
const Group& group,
79 const RateConvFunc& rateConverter,
Definition AquiferInterface.hpp:35
Definition DeferredLogger.hpp:57
Definition GroupState.hpp:34
Class for computing well group constraints.
Definition WellGroupConstraints.hpp:47
WellGroupConstraints(const WellInterfaceGeneric &well)
Constructor sets reference to well.
Definition WellGroupConstraints.hpp:50
Definition WellInterfaceGeneric.hpp:51
The state of a set of wells, tailored for use by the fully implicit blackoil simulator.
Definition WellState.hpp:60
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition BlackoilPhases.hpp:27