set reservoir rate to zero for shut wells

This commit is contained in:
Tor Harald Sandve 2019-11-08 11:30:37 +01:00
parent a95459e6ff
commit 8218f81183

View File

@ -677,6 +677,7 @@ namespace Opm {
const int np = numPhases();
for (int p = 0; p < np; ++p) {
well_state_.wellRates()[np * w + p] = 0.;
well_state_.wellReservoirRates()[np * w + p] = 0.;
}
continue;
} else {