mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Extract functionality to update target rates to SingleWellState
This commit is contained in:
@@ -1239,7 +1239,7 @@ updateEclWells(const int timeStepIdx,
|
||||
}
|
||||
auto& ws = this->wellState().well(well_index);
|
||||
|
||||
this->wellState().updateStatus(well_index, well.getStatus());
|
||||
ws.updateStatus( well.getStatus() );
|
||||
ws.reset_connection_factors(pd);
|
||||
this->prod_index_calc_[well_index].reInit(well);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user