make WellEconProductionLimit constructible from variables

This commit is contained in:
Arne Morten Kvarving
2019-12-10 14:07:40 +01:00
parent 80702dba06
commit 7eeadd8cb5
2 changed files with 44 additions and 0 deletions

View File

@@ -55,6 +55,17 @@ namespace Opm {
explicit WellEconProductionLimits(const DeckRecord& record);
WellEconProductionLimits();
WellEconProductionLimits(double minOilRate, double minGasRate,
double maxWaterCut, double maxGasOilRatio,
double maxWaterGasRatio,
EconWorkover workover, bool endRun,
const std::string& followonWell,
QuantityLimit quantityLimit,
double secondaryMaxWaterCut,
EconWorkover workoverSecondary,
double maxGasLiquidRatio,
double minLiquidRate, double maxTemperature,
double minReservoirFluidRate);
// TODO: not handling things related to m_secondary_max_water_cut
// for the moment.