My Project
Opm::WellGroupHelpers::TargetCalculator Class Reference

Based on a group control mode, extract or calculate rates, and provide other conveniences. More...

#include <TargetCalculator.hpp>

Public Member Functions

 TargetCalculator (const Group::ProductionCMode cmode, const PhaseUsage &pu, const std::vector< double > &resv_coeff, const double group_grat_target_from_sales, const std::string &group_name, const GroupState &group_state, const bool use_gpmaint)
 
template<typename RateType >
RateType calcModeRateFromRates (const std::vector< RateType > &rates) const
 
template<typename RateType >
RateType calcModeRateFromRates (const RateType *rates) const
 
double groupTarget (const Group::ProductionControls ctrl) const
 
GuideRateModel::Target guideTargetMode () const
 

Detailed Description

Based on a group control mode, extract or calculate rates, and provide other conveniences.


The documentation for this class was generated from the following files: