mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-29 10:40:59 -06:00
Remove unused method computeRelPermWells().
This commit is contained in:
parent
04b255a03f
commit
a4a3505fae
@ -281,11 +281,6 @@ namespace Opm {
|
||||
std::vector<ADB>
|
||||
computeRelPerm(const SolutionState& state) const;
|
||||
|
||||
std::vector<ADB>
|
||||
computeRelPermWells(const SolutionState& state,
|
||||
const DataBlock& well_s,
|
||||
const std::vector<int>& well_cells) const;
|
||||
|
||||
void
|
||||
computeMassFlux(const int actph ,
|
||||
const V& transi,
|
||||
|
@ -1721,37 +1721,6 @@ namespace detail {
|
||||
|
||||
|
||||
|
||||
template<class T>
|
||||
std::vector<ADB>
|
||||
FullyImplicitBlackoilSolver<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 ADB null = ADB::constant(V::Zero(nperf));
|
||||
|
||||
const Opm::PhaseUsage& pu = fluid_.phaseUsage();
|
||||
const ADB sw = (active_[ Water ]
|
||||
? ADB::constant(well_s.col(pu.phase_pos[ Water ]))
|
||||
: null);
|
||||
|
||||
const ADB so = (active_[ Oil ]
|
||||
? ADB::constant(well_s.col(pu.phase_pos[ Oil ]))
|
||||
: null);
|
||||
|
||||
const ADB sg = (active_[ Gas ]
|
||||
? ADB::constant(well_s.col(pu.phase_pos[ Gas ]))
|
||||
: null);
|
||||
|
||||
return fluid_.relperm(sw, so, sg, well_cells);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
template<class T>
|
||||
void
|
||||
FullyImplicitBlackoilSolver<T>::computeMassFlux(const int actph ,
|
||||
|
Loading…
Reference in New Issue
Block a user