mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Set WellState::thp when loading restart file
This commit is contained in:
parent
057db0ec0e
commit
a39fcc9708
@ -172,6 +172,7 @@ loadRestartData(const data::Wells& rst_wells,
|
||||
for( const auto& wm : well_state.wellMap() ) {
|
||||
const auto well_index = wm.second[ 0 ];
|
||||
const auto& rst_well = rst_wells.at( wm.first );
|
||||
well_state.update_thp(well_index, rst_well.thp);
|
||||
well_state.update_bhp(well_index, rst_well.bhp);
|
||||
well_state.update_temperature(well_index, rst_well.temperature);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user