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:
Markus Blatt 2020-11-19 19:50:01 +01:00
parent 6f7e83a2ce
commit fb5f2eb9d0

View File

@ -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.) {