Merge pull request #4265 from totto82/well_temp

adapt to changes in temperature location in opm-common
This commit is contained in:
Markus Blatt 2022-11-22 12:26:46 +01:00 committed by GitHub
commit d8ca55fe34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -171,8 +171,7 @@ void WellState::initSingleInjector(const Well& well,
const SummaryState& summary_state) {
const auto& pu = this->phase_usage_;
const auto& inj_controls = well.injectionControls(summary_state);
const double temp = inj_controls.temperature;
const double temp = well.temperature();
auto& ws = this->wells_.add(well.name(), SingleWellState{well.name(), well_info, false, pressure_first_connection, well_perf_data, pu, temp});