Renaming well is shut to well is stopped.

Rename the the meaning for shut as whats used in Eclipse.
STOP: Well stopped off above the formation. I.e. allow for flow in the
well.
SHUT: Well completely isolated from the formation. The well is removed
from the well list.
This commit is contained in:
Tor Harald Sandve
2014-11-18 08:32:55 +01:00
parent d50ec0d4d1
commit 82eafbb510
10 changed files with 16 additions and 16 deletions

View File

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