diff --git a/opm/simulators/wells/BlackoilWellModel.hpp b/opm/simulators/wells/BlackoilWellModel.hpp index 9942c8a21..8ba8ecd92 100644 --- a/opm/simulators/wells/BlackoilWellModel.hpp +++ b/opm/simulators/wells/BlackoilWellModel.hpp @@ -573,7 +573,7 @@ namespace Opm { void wellTesting(const int timeStepIdx, const double simulationTime, Opm::DeferredLogger& deferred_logger); // convert well data from opm-common to well state from opm-core - void wellsToState( const data::Wells& wells, + void loadRestartData( const data::Wells& wells, const data::GroupAndNetworkValues& grpNwrkValues, const PhaseUsage& phases, const bool handle_ms_well, diff --git a/opm/simulators/wells/BlackoilWellModel_impl.hpp b/opm/simulators/wells/BlackoilWellModel_impl.hpp index 1b6b1f90e..b10c9e737 100644 --- a/opm/simulators/wells/BlackoilWellModel_impl.hpp +++ b/opm/simulators/wells/BlackoilWellModel_impl.hpp @@ -630,7 +630,7 @@ namespace Opm { const size_t numCells = Opm::UgGridHelpers::numCells(grid()); const bool handle_ms_well = (param_.use_multisegment_well_ && anyMSWellOpenLocal()); this->wellState().resize(wells_ecl_, local_parallel_well_info_, schedule(), handle_ms_well, numCells, phaseUsage, well_perf_data_, summaryState, globalNumWells); // Resize for restart step - wellsToState(restartValues.wells, restartValues.grp_nwrk, phaseUsage, handle_ms_well, this->wellState()); + loadRestartData(restartValues.wells, restartValues.grp_nwrk, phaseUsage, handle_ms_well, this->wellState()); } this->commitWellState(); @@ -1865,11 +1865,11 @@ namespace Opm { template void BlackoilWellModel:: - wellsToState( const data::Wells& wells, - const data::GroupAndNetworkValues& grpNwrkValues, - const PhaseUsage& phases, - const bool handle_ms_well, - WellStateFullyImplicitBlackoil& state) const + loadRestartData( const data::Wells& wells, + const data::GroupAndNetworkValues& grpNwrkValues, + const PhaseUsage& phases, + const bool handle_ms_well, + WellStateFullyImplicitBlackoil& state) const { using GPMode = Group::ProductionCMode; using GIMode = Group::InjectionCMode;