removing variableStateInitials() from BlackoilMultiSegmentModel

which is not helpful anymore.
This commit is contained in:
Kai Bao 2016-05-10 16:25:26 +02:00
parent a102e934ac
commit 4527034f29
2 changed files with 0 additions and 27 deletions

View File

@ -164,10 +164,6 @@ namespace Opm {
const MultisegmentWells::MultisegmentWellOps& msWellOps() const { return well_model_.wellOps(); }
std::vector<V>
variableStateInitials(const ReservoirState& x,
const WellState& xw) const;
bool
solveWellEq(const std::vector<ADB>& mob_perfcells,
const std::vector<ADB>& b_perfcells,

View File

@ -308,29 +308,6 @@ namespace Opm {
template <class Grid>
std::vector<V>
BlackoilMultiSegmentModel<Grid>::
variableStateInitials(const ReservoirState& x,
const WellState& xw) const
{
assert(active_[ Oil ]);
const int np = x.numPhases();
std::vector<V> vars0;
// p, Sw and Rs, Rv or Sg is used as primary depending on solution conditions
// and bhp and Q for the wells
vars0.reserve(np + 1);
variableReservoirStateInitials(x, vars0);
wellModel().variableWellStateInitials(xw, vars0);
return vars0;
}
template <class Grid>
void
BlackoilMultiSegmentModel<Grid>::