Merge pull request #4716 from akva2/janitoring

Some janitoring
This commit is contained in:
Bård Skaflestad
2023-06-21 09:46:57 +02:00
committed by GitHub
4 changed files with 11 additions and 11 deletions

View File

@@ -1042,7 +1042,7 @@ namespace Opm {
template<typename TypeTag>
void
BlackoilWellModel<TypeTag>::
assembleDomain(const int iterationIdx,
assembleDomain(const int /*iterationIdx*/,
const double dt,
const Domain& domain)
{
@@ -1621,7 +1621,7 @@ namespace Opm {
this->wellState(),
B_avg,
local_deferredLogger,
iterationIdx > param_.strict_outer_iter_wells_);
relax_tolerance);
} else {
ConvergenceReport report;
using CR = ConvergenceReport;

View File

@@ -121,7 +121,7 @@ assembleControlEq(const WellState& well_state,
} else if (well_.isInjector() ) {
// Find scaling factor to get injection rate,
const InjectorType injectorType = inj_controls.injector_type;
double scaling = 1.0;
double scaling;
const auto& pu = well_.phaseUsage();
switch (injectorType) {
case InjectorType::WATER: