Set WellState::thp when loading restart file

This commit is contained in:
Joakim Hove 2021-07-26 13:06:24 +02:00
parent 057db0ec0e
commit a39fcc9708

View File

@ -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);