mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -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;
|
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>
|
template<class FluidSystem, class Indices, class Scalar>
|
||||||
void
|
void
|
||||||
StandardWellEval<FluidSystem,Indices,Scalar>::
|
StandardWellEval<FluidSystem,Indices,Scalar>::
|
||||||
|
@ -112,9 +112,6 @@ protected:
|
|||||||
const int num_cells,
|
const int num_cells,
|
||||||
const bool has_polymermw);
|
const bool has_polymermw);
|
||||||
|
|
||||||
void updatePrimaryVariables(const WellState& well_state,
|
|
||||||
DeferredLogger& deferred_logger) const;
|
|
||||||
|
|
||||||
void updateWellStateFromPrimaryVariables(WellState& well_state,
|
void updateWellStateFromPrimaryVariables(WellState& well_state,
|
||||||
DeferredLogger& deferred_logger) const;
|
DeferredLogger& deferred_logger) const;
|
||||||
|
|
||||||
|
@ -2030,9 +2030,10 @@ namespace Opm
|
|||||||
StandardWell<TypeTag>::
|
StandardWell<TypeTag>::
|
||||||
updatePrimaryVariables(const WellState& well_state, DeferredLogger& deferred_logger) const
|
updatePrimaryVariables(const WellState& well_state, DeferredLogger& deferred_logger) const
|
||||||
{
|
{
|
||||||
this->StdWellEval::updatePrimaryVariables(well_state, deferred_logger);
|
|
||||||
if (!this->isOperableAndSolvable() && !this->wellIsStopped()) return;
|
if (!this->isOperableAndSolvable() && !this->wellIsStopped()) return;
|
||||||
|
|
||||||
|
this->primary_variables_.update(well_state, deferred_logger);
|
||||||
|
|
||||||
// other primary variables related to polymer injection
|
// other primary variables related to polymer injection
|
||||||
if constexpr (Base::has_polymermw) {
|
if constexpr (Base::has_polymermw) {
|
||||||
if (this->isInjector()) {
|
if (this->isInjector()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user