emove unused method computeRelPermWells()

This commit is contained in:
Kai Bao 2015-05-07 13:15:24 +02:00
parent 0f65fd52f0
commit 06d2534b3d
2 changed files with 0 additions and 40 deletions

View File

@ -295,11 +295,6 @@ namespace Opm {
std::vector<ADB> std::vector<ADB>
computeRelPerm(const SolutionState& state) const; computeRelPerm(const SolutionState& state) const;
std::vector<ADB>
computeRelPermWells(const SolutionState& state,
const DataBlock& well_s,
const std::vector<int>& well_cells) const;
void void
computeMassFlux(const V& transi, computeMassFlux(const V& transi,
const std::vector<ADB>& kr , const std::vector<ADB>& kr ,

View File

@ -1815,41 +1815,6 @@ namespace detail {
} }
template<class T>
std::vector<ADB>
FullyImplicitBlackoilPolymerSolver<T>::computeRelPermWells(const SolutionState& state,
const DataBlock& well_s,
const std::vector<int>& well_cells) const
{
const int nw = wells().number_of_wells;
const int nperf = wells().well_connpos[nw];
const std::vector<int>& bpat = state.pressure.blockPattern();
const ADB null = ADB::constant(V::Zero(nperf), bpat);
const Opm::PhaseUsage& pu = fluid_.phaseUsage();
const ADB sw = (active_[ Water ]
? ADB::constant(well_s.col(pu.phase_pos[ Water ]), bpat)
: null);
const ADB so = (active_[ Oil ]
? ADB::constant(well_s.col(pu.phase_pos[ Oil ]), bpat)
: null);
const ADB sg = (active_[ Gas ]
? ADB::constant(well_s.col(pu.phase_pos[ Gas ]), bpat)
: null);
return fluid_.relperm(sw, so, sg, well_cells);
}
template<class T> template<class T>
void void
FullyImplicitBlackoilPolymerSolver<T>::computeMassFlux(const V& transi, FullyImplicitBlackoilPolymerSolver<T>::computeMassFlux(const V& transi,