mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-09-05 04:40:19 -05:00
StandardWell only assing primary_variables_[WQTotal] once.
There seems to be no need to assign the same value consecutively as often as there are phases.
This commit is contained in:
@@ -2843,9 +2843,7 @@ namespace Opm
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
for (int p = 0; p < np; ++p) {
|
|
||||||
primary_variables_[WQTotal] = total_well_rate;
|
primary_variables_[WQTotal] = total_well_rate;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (std::abs(total_well_rate) > 0.) {
|
if (std::abs(total_well_rate) > 0.) {
|
||||||
|
|||||||
Reference in New Issue
Block a user