BUGFIX. Do not increase well index for shut wells.
Shut wells are not added to the well list and the well index should therefore not be increased when well control is set. This is similar to whats is done for shut wells in createWellsFromSpecs.
This commit is contained in:
parent
b7a6680ef4
commit
401b193854
@ -412,8 +412,7 @@ namespace Opm
|
||||
}
|
||||
|
||||
if (well->getStatus(timeStep) == WellCommon::SHUT) {
|
||||
//well_controls_shut_well( w_->ctrls[well_index] );
|
||||
well_index++;
|
||||
//SHUT wells are not added to the well list
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user