diff --git a/opm/autodiff/BlackoilModelBase.hpp b/opm/autodiff/BlackoilModelBase.hpp index d9ad56b07..8856b018b 100644 --- a/opm/autodiff/BlackoilModelBase.hpp +++ b/opm/autodiff/BlackoilModelBase.hpp @@ -268,10 +268,6 @@ namespace Opm { // return wells object const Wells& wells () const { assert( bool(wells_ != 0) ); return *wells_; } - SolutionState - constantState(const ReservoirState& x, - const WellState& xw) const; - void makeConstantState(SolutionState& state) const; diff --git a/opm/autodiff/BlackoilModelBase_impl.hpp b/opm/autodiff/BlackoilModelBase_impl.hpp index 33d6552ce..a5f6a590b 100644 --- a/opm/autodiff/BlackoilModelBase_impl.hpp +++ b/opm/autodiff/BlackoilModelBase_impl.hpp @@ -328,20 +328,6 @@ namespace detail { - template - typename BlackoilModelBase::SolutionState - BlackoilModelBase::constantState(const ReservoirState& x, - const WellState& xw) const - { - auto state = variableState(x, xw); - makeConstantState(state); - return state; - } - - - - - template void BlackoilModelBase::makeConstantState(SolutionState& state) const