|
opm-simulators
|
Based on a group control mode, extract or calculate rates, and provide other conveniences. More...
#include <TargetCalculator.hpp>
Public Types | |
| using | GroupStateHelperType = Opm::GroupStateHelper<Scalar, IndexTraits> |
Public Member Functions | |
| TargetCalculator (const GroupStateHelperType &groupStateHelper, const std::vector< Scalar > &resv_coeff, const Group &group) | |
| TargetCalculator (const GroupStateHelperType &groupStateHelper, const std::vector< Scalar > &resv_coeff, Group::ProductionCMode cmode) | |
| Construct with an explicit production control mode (not read from group state). | |
| template<typename RateType> | |
| RateType | calcModeRateFromRates (const std::vector< RateType > &rates) const |
| template<typename RateType> | |
| RateType | calcModeRateFromRates (const RateType *rates) const |
Based on a group control mode, extract or calculate rates, and provide other conveniences.
| Opm::GroupStateHelpers::TargetCalculator< Scalar, IndexTraits >::TargetCalculator | ( | const GroupStateHelperType & | groupStateHelper, |
| const std::vector< Scalar > & | resv_coeff, | ||
| Group::ProductionCMode | cmode ) |
Construct with an explicit production control mode (not read from group state).
Used when computing targets/limits for non-active rate types.