mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Remove unused method computeRelPermWells().
This commit is contained in:
parent
04b255a03f
commit
a4a3505fae
@ -281,11 +281,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 int actph ,
|
computeMassFlux(const int actph ,
|
||||||
const V& transi,
|
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>
|
template<class T>
|
||||||
void
|
void
|
||||||
FullyImplicitBlackoilSolver<T>::computeMassFlux(const int actph ,
|
FullyImplicitBlackoilSolver<T>::computeMassFlux(const int actph ,
|
||||||
|
Loading…
Reference in New Issue
Block a user