mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-19 16:22:57 -06:00
Merge pull request #3035 from akva2/janitoring
quell unused parameter warning
This commit is contained in:
commit
2a5d908c2e
@ -394,7 +394,7 @@ namespace Opm {
|
||||
|
||||
void setupCartesianToCompressed_(const int* global_cell, int local_num__cells);
|
||||
|
||||
void setRepRadiusPerfLength(Opm::DeferredLogger& deferred_logger);
|
||||
void setRepRadiusPerfLength();
|
||||
|
||||
|
||||
void computeAverageFormationFactor(std::vector<Scalar>& B_avg) const;
|
||||
|
@ -362,7 +362,7 @@ namespace Opm {
|
||||
if (has_polymer_)
|
||||
{
|
||||
if (PolymerModule::hasPlyshlog() || getPropValue<TypeTag, Properties::EnablePolymerMW>() ) {
|
||||
setRepRadiusPerfLength(local_deferredLogger);
|
||||
setRepRadiusPerfLength();
|
||||
}
|
||||
}
|
||||
} catch (std::exception& e) {
|
||||
@ -1579,10 +1579,10 @@ namespace Opm {
|
||||
template<typename TypeTag>
|
||||
void
|
||||
BlackoilWellModel<TypeTag>::
|
||||
setRepRadiusPerfLength(Opm::DeferredLogger& deferred_logger)
|
||||
setRepRadiusPerfLength()
|
||||
{
|
||||
for (const auto& well : well_container_) {
|
||||
well->setRepRadiusPerfLength(cartesian_to_compressed_, deferred_logger);
|
||||
well->setRepRadiusPerfLength(cartesian_to_compressed_);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -189,7 +189,7 @@ namespace Opm
|
||||
|
||||
void setWellEfficiencyFactor(const double efficiency_factor);
|
||||
|
||||
void setRepRadiusPerfLength(const std::vector<int>& cartesian_to_compressed, Opm::DeferredLogger& deferred_logger);
|
||||
void setRepRadiusPerfLength(const std::vector<int>& cartesian_to_compressed);
|
||||
|
||||
/// using the solution x to recover the solution xw for wells and applying
|
||||
/// xw to update Well State
|
||||
|
@ -1195,9 +1195,7 @@ namespace Opm
|
||||
template<typename TypeTag>
|
||||
void
|
||||
WellInterface<TypeTag>::
|
||||
setRepRadiusPerfLength(const std::vector<int>& cartesian_to_compressed,
|
||||
Opm::DeferredLogger& deferred_logger
|
||||
)
|
||||
setRepRadiusPerfLength(const std::vector<int>& cartesian_to_compressed)
|
||||
{
|
||||
const int nperf = number_of_perforations_;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user