Remove unneeded function arguments.

This commit is contained in:
Atgeirr Flø Rasmussen committed 2025-07-03 22:45:10 +02:00
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);
+1 -2
View File
@@ -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;
};
+2 -4
View File
@@ -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
{