Fix comments.

This commit is contained in:
Tor Harald Sandve 2015-01-07 10:33:20 +01:00
parent 1718800e55
commit 880026e893
2 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ namespace Opm
assert((wells->type[w] == INJECTOR) || (wells->type[w] == PRODUCER)); assert((wells->type[w] == INJECTOR) || (wells->type[w] == PRODUCER));
const WellControls* ctrl = wells->ctrls[w]; const WellControls* ctrl = wells->ctrls[w];
if (well_controls_well_is_stopped(ctrl)) { if (well_controls_well_is_stopped(ctrl)) {
// Shut well: // Stopped well:
// 1. Assign zero well rates. // 1. Assign zero well rates.
for (int p = 0; p < np; ++p) { for (int p = 0; p < np; ++p) {
wellrates_[np*w + p] = 0.0; wellrates_[np*w + p] = 0.0;

View File

@ -413,7 +413,7 @@ namespace Opm
WellConstPtr well = (*wellIter); WellConstPtr well = (*wellIter);
if (well->getStatus(timeStep) == WellCommon::STOP) { if (well->getStatus(timeStep) == WellCommon::STOP) {
// STOPed wells are added to the well list with the given controll and closed. // STOPed wells are kept in the well list but marked as stopped.
well_controls_stop_well(w_->ctrls[well_index]); well_controls_stop_well(w_->ctrls[well_index]);
} }