Merge branch 'master' into reorder_tof
This commit is contained in:
commit
ca71fe5132
@ -407,8 +407,8 @@ namespace Opm
|
|||||||
// Optionally, check if well controls are satisfied.
|
// Optionally, check if well controls are satisfied.
|
||||||
if (check_well_controls_) {
|
if (check_well_controls_) {
|
||||||
Opm::computePhaseFlowRatesPerWell(*wells_,
|
Opm::computePhaseFlowRatesPerWell(*wells_,
|
||||||
fractional_flows,
|
|
||||||
well_state.perfRates(),
|
well_state.perfRates(),
|
||||||
|
fractional_flows,
|
||||||
well_resflows_phase);
|
well_resflows_phase);
|
||||||
std::cout << "Checking well conditions." << std::endl;
|
std::cout << "Checking well conditions." << std::endl;
|
||||||
// For testing we set surface := reservoir
|
// For testing we set surface := reservoir
|
||||||
|
@ -863,7 +863,7 @@ namespace Opm
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// We're a producer, so we need to negate the input
|
// We're a producer, so we need to negate the input
|
||||||
double ntarget = target;
|
double ntarget = -target;
|
||||||
|
|
||||||
double distr[3] = { 0.0, 0.0, 0.0 };
|
double distr[3] = { 0.0, 0.0, 0.0 };
|
||||||
const int* phase_pos = phaseUsage().phase_pos;
|
const int* phase_pos = phaseUsage().phase_pos;
|
||||||
|
Loading…
Reference in New Issue
Block a user