diff --git a/opm/simulators/wells/MultisegmentWellEval.cpp b/opm/simulators/wells/MultisegmentWellEval.cpp index 419782fdf..616ebcc85 100644 --- a/opm/simulators/wells/MultisegmentWellEval.cpp +++ b/opm/simulators/wells/MultisegmentWellEval.cpp @@ -383,10 +383,10 @@ processFractions(const int seg) const template void MultisegmentWellEval:: -updateWellState(const BVectorWell& dwells, - const double relaxation_factor, - const double dFLimit, - const double max_pressure_change) const +updatePrimaryVariablesNewton(const BVectorWell& dwells, + const double relaxation_factor, + const double dFLimit, + const double max_pressure_change) const { const std::vector > old_primary_variables = primary_variables_; diff --git a/opm/simulators/wells/MultisegmentWellEval.hpp b/opm/simulators/wells/MultisegmentWellEval.hpp index aba4bf324..48a444550 100644 --- a/opm/simulators/wells/MultisegmentWellEval.hpp +++ b/opm/simulators/wells/MultisegmentWellEval.hpp @@ -173,10 +173,10 @@ protected: void updateUpwindingSegments(); // updating the well_state based on well solution dwells - void updateWellState(const BVectorWell& dwells, - const double relaxation_factor, - const double DFLimit, - const double max_pressure_change) const; + void updatePrimaryVariablesNewton(const BVectorWell& dwells, + const double relaxation_factor, + const double DFLimit, + const double max_pressure_change) const; void computeSegmentFluidProperties(const EvalWell& temperature, const EvalWell& saltConcentration, diff --git a/opm/simulators/wells/MultisegmentWell_impl.hpp b/opm/simulators/wells/MultisegmentWell_impl.hpp index b721b8f2a..18f725a52 100644 --- a/opm/simulators/wells/MultisegmentWell_impl.hpp +++ b/opm/simulators/wells/MultisegmentWell_impl.hpp @@ -608,10 +608,10 @@ namespace Opm const double dFLimit = this->param_.dwell_fraction_max_; const double max_pressure_change = this->param_.max_pressure_change_ms_wells_; - this->MSWEval::updateWellState(dwells, - relaxation_factor, - dFLimit, - max_pressure_change); + this->MSWEval::updatePrimaryVariablesNewton(dwells, + relaxation_factor, + dFLimit, + max_pressure_change); this->updateWellStateFromPrimaryVariables(well_state, getRefDensity(), deferred_logger); Base::calculateReservoirRates(well_state.well(this->index_of_well_));