mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
changed: simplify computePerfRate signatures
pass a PerforationRates ref instead of multiple references to doubles
This commit is contained in:
@@ -295,10 +295,7 @@ namespace Opm
|
||||
const int perf,
|
||||
const bool allow_cf,
|
||||
std::vector<EvalWell>& cq_s,
|
||||
double& perf_dis_gas_rate,
|
||||
double& perf_dis_gas_rate_in_water,
|
||||
double& perf_vap_oil_rate,
|
||||
double& perf_vap_wat_rate,
|
||||
PerforationRates& perf_rates,
|
||||
DeferredLogger& deferred_logger) const;
|
||||
|
||||
void computePerfRateScalar(const IntensiveQuantities& intQuants,
|
||||
@@ -325,10 +322,7 @@ namespace Opm
|
||||
const Value& skin_pressure,
|
||||
const std::vector<Value>& cmix_s,
|
||||
std::vector<Value>& cq_s,
|
||||
double& perf_dis_gas_rate,
|
||||
double& perf_dis_gas_rate_in_water,
|
||||
double& perf_vap_oil_rate,
|
||||
double& perf_vap_wat_rate,
|
||||
PerforationRates& perf_rates,
|
||||
DeferredLogger& deferred_logger) const;
|
||||
|
||||
void computeWellRatesWithBhpIterations(const Simulator& ebosSimulator,
|
||||
|
||||
Reference in New Issue
Block a user