Remove unused argument

This commit is contained in:
Joakim Hove 2021-09-20 11:41:40 +02:00
parent 5531120411
commit 0472bc3bf2
3 changed files with 3 additions and 5 deletions

View File

@ -824,7 +824,7 @@ updateWellTestState(const SingleWellState& ws,
}
// updating well test state based on physical (THP/BHP) limits.
updateWellTestStatePhysical(ws, simulationTime, writeMessageToOPMLog, wellTestState, deferred_logger);
updateWellTestStatePhysical(simulationTime, writeMessageToOPMLog, wellTestState, deferred_logger);
// updating well test state based on Economic limits.
updateWellTestStateEconomic(ws, simulationTime, writeMessageToOPMLog, wellTestState, deferred_logger);

View File

@ -347,8 +347,7 @@ bool WellInterfaceGeneric::isVFPActive(DeferredLogger& deferred_logger) const
}
}
void WellInterfaceGeneric::updateWellTestStatePhysical(const SingleWellState& /* well_state */,
const double simulation_time,
void WellInterfaceGeneric::updateWellTestStatePhysical(const double simulation_time,
const bool write_message_to_opmlog,
WellTestState& well_test_state,
DeferredLogger& deferred_logger) const

View File

@ -172,8 +172,7 @@ public:
protected:
bool getAllowCrossFlow() const;
double mostStrictBhpFromBhpLimits(const SummaryState& summaryState) const;
void updateWellTestStatePhysical(const SingleWellState& ws,
const double simulation_time,
void updateWellTestStatePhysical(const double simulation_time,
const bool write_message_to_opmlog,
WellTestState& well_test_state,
DeferredLogger& deferred_logger) const;