Merge pull request #2934 from blattms/stdwell-assign-totalrate-once

StandardWell only assing primary_variables_[WQTotal] once.
This commit is contained in:
Atgeirr Flø Rasmussen
2020-11-20 07:54:43 +01:00
committed by GitHub

View File

@@ -2920,9 +2920,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.) {