Fix order of arguments in function call.

Rate and fractional flow were switched in call
to computePhaseFlowRatesPerWell().
This commit is contained in:
Atgeirr Flø Rasmussen 2012-10-08 14:26:46 +02:00
parent 6014eb347e
commit 52d97cfc1c

View File

@ -407,8 +407,8 @@ namespace Opm
// Optionally, check if well controls are satisfied.
if (check_well_controls_) {
Opm::computePhaseFlowRatesPerWell(*wells_,
fractional_flows,
well_state.perfRates(),
fractional_flows,
well_resflows_phase);
std::cout << "Checking well conditions." << std::endl;
// For testing we set surface := reservoir