Merge pull request #3035 from akva2/janitoring

quell unused parameter warning
This commit is contained in:
Arne Morten Kvarving 2021-01-28 14:15:05 +01:00 committed by GitHub
commit 2a5d908c2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 8 deletions

View File

@ -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;

View File

@ -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_);
}
}

View File

@ -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

View File

@ -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_;