24#ifndef OPM_WELL_GROUP_CONSTRAINTS_HEADER_INCLUDED
25#define OPM_WELL_GROUP_CONSTRAINTS_HEADER_INCLUDED
38template<
class Scalar>
class GroupState;
43template<
typename Scalar,
typename IndexTraits>
class WellInterfaceGeneric;
44template<
typename Scalar,
typename IndexTraits>
class WellState;
47template<
typename Scalar,
typename IndexTraits>
53 using RateConvFunc = std::function<
void(
const RegionId,
55 const std::optional<std::string>&,
56 std::vector<Scalar>&)>;
62 const RateConvFunc& rateConverter,
67 std::pair<bool, Scalar>
68 checkGroupConstraintsInj(
const Group& group,
74 const RateConvFunc& rateConverter,
78 std::pair<bool, Scalar>
79 checkGroupConstraintsProd(
const Group& group,
85 const RateConvFunc& rateConverter,
Definition DeferredLogger.hpp:57
Definition GroupState.hpp:41
Class for computing well group constraints.
Definition WellGroupConstraints.hpp:48
WellGroupConstraints(const WellInterfaceGeneric< Scalar, IndexTraits > &well)
Constructor sets reference to well.
Definition WellGroupConstraints.hpp:51
Definition WellInterfaceGeneric.hpp:53
The state of a set of wells, tailored for use by the fully implicit blackoil simulator.
Definition WellState.hpp:66
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