mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
adapt to changes in temperature location in opm-common
This commit is contained in:
parent
d8c0057601
commit
76dc8255fc
@ -168,8 +168,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});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user