mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Fix comments.
This commit is contained in:
parent
1718800e55
commit
880026e893
@ -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;
|
||||||
|
@ -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]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user