Remove unused constantState() method.

This commit is contained in:
Atgeirr Flø Rasmussen 2015-05-26 00:08:33 +02:00
parent 0d7fa1a82c
commit c2f4397bcf
2 changed files with 0 additions and 18 deletions

View File

@ -268,10 +268,6 @@ namespace Opm {
// return wells object // return wells object
const Wells& wells () const { assert( bool(wells_ != 0) ); return *wells_; } const Wells& wells () const { assert( bool(wells_ != 0) ); return *wells_; }
SolutionState
constantState(const ReservoirState& x,
const WellState& xw) const;
void void
makeConstantState(SolutionState& state) const; makeConstantState(SolutionState& state) const;

View File

@ -328,20 +328,6 @@ namespace detail {
template <class Grid, class Implementation>
typename BlackoilModelBase<Grid, Implementation>::SolutionState
BlackoilModelBase<Grid, Implementation>::constantState(const ReservoirState& x,
const WellState& xw) const
{
auto state = variableState(x, xw);
makeConstantState(state);
return state;
}
template <class Grid, class Implementation> template <class Grid, class Implementation>
void void
BlackoilModelBase<Grid, Implementation>::makeConstantState(SolutionState& state) const BlackoilModelBase<Grid, Implementation>::makeConstantState(SolutionState& state) const