mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
drop unnecessary wrapper StandardWell::updateExtraPrimaryVariables
This commit is contained in:
parent
f64628f72d
commit
8e3121113c
@ -357,10 +357,6 @@ namespace Opm
|
||||
const WellState& well_state,
|
||||
DeferredLogger& deferred_logger) const;
|
||||
|
||||
// update extra primary vriables if there are any
|
||||
void updateExtraPrimaryVariables(const BVectorWell& dwells) const;
|
||||
|
||||
|
||||
void updateWellStateFromPrimaryVariables(WellState& well_state, DeferredLogger& deferred_logger) const;
|
||||
|
||||
virtual void assembleWellEqWithoutIteration(const Simulator& ebosSimulator,
|
||||
|
@ -959,24 +959,12 @@ namespace Opm
|
||||
const double dBHPLimit = this->param_.dbhp_max_rel_;
|
||||
this->primary_variables_.updateNewton(dwells, dFLimit, dBHPLimit);
|
||||
|
||||
updateExtraPrimaryVariables(dwells);
|
||||
|
||||
this->primary_variables_.checkFinite(deferred_logger);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
template<typename TypeTag>
|
||||
void
|
||||
StandardWell<TypeTag>::
|
||||
updateExtraPrimaryVariables(const BVectorWell& dwells) const
|
||||
{
|
||||
// for the water velocity and skin pressure
|
||||
if constexpr (Base::has_polymermw) {
|
||||
this->primary_variables_.updateNewtonPolyMW(dwells);
|
||||
}
|
||||
|
||||
this->primary_variables_.checkFinite(deferred_logger);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user