mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
cosmetics
This commit is contained in:
parent
f06e7dc165
commit
e7bb51740e
@ -762,8 +762,8 @@ namespace Opm
|
||||
const Value drawdown = cell_press_at_perf - perf_press;
|
||||
|
||||
// producing perforations
|
||||
if ( drawdown > 0.0) {
|
||||
// Do nothing is crossflow is not allowed
|
||||
if (drawdown > 0.0) {
|
||||
// Do nothing if crossflow is not allowed
|
||||
if (!allow_cf && this->isInjector()) {
|
||||
return;
|
||||
}
|
||||
|
@ -219,8 +219,8 @@ namespace Opm
|
||||
}
|
||||
|
||||
// producing perforations
|
||||
if ( drawdown > 0 ) {
|
||||
//Do nothing if crossflow is not allowed
|
||||
if (drawdown > 0) {
|
||||
// Do nothing if crossflow is not allowed
|
||||
if (!allow_cf && this->isInjector()) {
|
||||
return;
|
||||
}
|
||||
@ -269,9 +269,8 @@ namespace Opm
|
||||
perf_rates.dis_gas_in_water = getValue(dis_gas_wat);
|
||||
}
|
||||
}
|
||||
|
||||
} else {
|
||||
//Do nothing if crossflow is not allowed
|
||||
// Do nothing if crossflow is not allowed
|
||||
if (!allow_cf && this->isProducer()) {
|
||||
return;
|
||||
}
|
||||
@ -354,7 +353,7 @@ namespace Opm
|
||||
}
|
||||
|
||||
// injecting connections total volumerates at standard conditions
|
||||
Value cqt_is = cqt_i/volumeRatio;
|
||||
Value cqt_is = cqt_i / volumeRatio;
|
||||
for (int componentIdx = 0; componentIdx < this->numComponents(); ++componentIdx) {
|
||||
cq_s[componentIdx] = cmix_s[componentIdx] * cqt_is;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user