mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06: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:
parent
6f7e83a2ce
commit
fb5f2eb9d0
@ -2843,9 +2843,7 @@ namespace Opm
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
for (int p = 0; p < np; ++p) {
|
||||
primary_variables_[WQTotal] = total_well_rate;
|
||||
}
|
||||
}
|
||||
|
||||
if (std::abs(total_well_rate) > 0.) {
|
||||
|
Loading…
Reference in New Issue
Block a user