mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-26 19:56:27 -06:00
remove StandardWell::updatePrimaryVariables
no need for the wrapper any longer as the implementation is now in StandardWellPrimaryVariables.
This commit is contained in:
parent
b5f5a24af6
commit
ff26a9e001
@ -69,17 +69,6 @@ extendEval(const Eval& in) const
|
||||
return out;
|
||||
}
|
||||
|
||||
template<class FluidSystem, class Indices, class Scalar>
|
||||
void
|
||||
StandardWellEval<FluidSystem,Indices,Scalar>::
|
||||
updatePrimaryVariables(const WellState& well_state, DeferredLogger& deferred_logger) const
|
||||
{
|
||||
if (!baseif_.isOperableAndSolvable() && !baseif_.wellIsStopped())
|
||||
return;
|
||||
|
||||
this->primary_variables_.update(well_state, deferred_logger);
|
||||
}
|
||||
|
||||
template<class FluidSystem, class Indices, class Scalar>
|
||||
void
|
||||
StandardWellEval<FluidSystem,Indices,Scalar>::
|
||||
|
@ -112,9 +112,6 @@ protected:
|
||||
const int num_cells,
|
||||
const bool has_polymermw);
|
||||
|
||||
void updatePrimaryVariables(const WellState& well_state,
|
||||
DeferredLogger& deferred_logger) const;
|
||||
|
||||
void updateWellStateFromPrimaryVariables(WellState& well_state,
|
||||
DeferredLogger& deferred_logger) const;
|
||||
|
||||
|
@ -2030,9 +2030,10 @@ namespace Opm
|
||||
StandardWell<TypeTag>::
|
||||
updatePrimaryVariables(const WellState& well_state, DeferredLogger& deferred_logger) const
|
||||
{
|
||||
this->StdWellEval::updatePrimaryVariables(well_state, deferred_logger);
|
||||
if (!this->isOperableAndSolvable() && !this->wellIsStopped()) return;
|
||||
|
||||
this->primary_variables_.update(well_state, deferred_logger);
|
||||
|
||||
// other primary variables related to polymer injection
|
||||
if constexpr (Base::has_polymermw) {
|
||||
if (this->isInjector()) {
|
||||
|
Loading…
Reference in New Issue
Block a user