mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-26 07:30:08 -05:00
Remove unneeded function arguments.
This commit is contained in:
1 parent
3eff989dea
commit
fcff49470c
3 files changed
+5
-9
No files matched your search
@@ -321,7 +321,7 @@ public:
|
||||
if (!FluidSystem::phaseIsActive(phaseIdx)) {
|
||||
continue;
|
||||
}
|
||||
computeInverseFormationVolumeFactorAndViscosity(fluidState_, phaseIdx, pvtRegionIdx, SoMax);
|
||||
computeInverseFormationVolumeFactorAndViscosity(fluidState_, phaseIdx, pvtRegionIdx);
|
||||
}
|
||||
Valgrind::CheckDefined(mobility_);
|
||||
|
||||
@@ -443,8 +443,7 @@ public:
|
||||
|
||||
void computeInverseFormationVolumeFactorAndViscosity(FluidState& fluidState,
|
||||
unsigned phaseIdx,
|
||||
unsigned pvtRegionIdx,
|
||||
const Evaluation& SoMax){
|
||||
unsigned pvtRegionIdx) {
|
||||
OPM_TIMEBLOCK_LOCAL(UpdateInverseFormationFactorAndViscosity);
|
||||
{
|
||||
OPM_TIMEBLOCK_LOCAL(UpdateFormationFactor);
|
||||
|
||||
@@ -450,8 +450,7 @@ namespace Opm
|
||||
DeferredLogger& deferred_logger) const;
|
||||
|
||||
private:
|
||||
Eval connectionRateEnergy(const Scalar maxOilSaturation,
|
||||
const std::vector<EvalWell>& cq_s,
|
||||
Eval connectionRateEnergy(const std::vector<EvalWell>& cq_s,
|
||||
const IntensiveQuantities& intQuants,
|
||||
DeferredLogger& deferred_logger) const;
|
||||
};
|
||||
|
||||
@@ -542,8 +542,7 @@ namespace Opm
|
||||
|
||||
if constexpr (has_energy) {
|
||||
connectionRates[perf][Indices::contiEnergyEqIdx] =
|
||||
connectionRateEnergy(simulator.problem().maxOilSaturation(cell_idx),
|
||||
cq_s, intQuants, deferred_logger);
|
||||
connectionRateEnergy(cq_s, intQuants, deferred_logger);
|
||||
}
|
||||
|
||||
if constexpr (has_polymer) {
|
||||
@@ -2545,8 +2544,7 @@ namespace Opm
|
||||
template <typename TypeTag>
|
||||
typename StandardWell<TypeTag>::Eval
|
||||
StandardWell<TypeTag>::
|
||||
connectionRateEnergy(const Scalar maxOilSaturation,
|
||||
const std::vector<EvalWell>& cq_s,
|
||||
connectionRateEnergy(const std::vector<EvalWell>& cq_s,
|
||||
const IntensiveQuantities& intQuants,
|
||||
DeferredLogger& deferred_logger) const
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user