mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-28 02:00:59 -06:00
fix warnings.
This commit is contained in:
parent
3eb1484f47
commit
136839bd20
@ -150,7 +150,7 @@ namespace Opm {
|
||||
}
|
||||
|
||||
// Report and return.
|
||||
return IterationReport { false, true, pressure_liniter + transport_liniter };
|
||||
return IterationReport { false, true, pressure_liniter + transport_liniter, 0 };
|
||||
} else {
|
||||
// Iterate to fully implicit solution.
|
||||
// This call is just for a single iteration (one pressure and one transport solve),
|
||||
@ -179,7 +179,7 @@ namespace Opm {
|
||||
|
||||
// Report and return.
|
||||
const bool converged = iteration >= 3; // TODO: replace this with a proper convergence check
|
||||
return IterationReport { false, converged, pressure_liniter + transport_liniter };
|
||||
return IterationReport { false, converged, pressure_liniter + transport_liniter, 0 };
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -567,6 +567,7 @@ namespace Opm {
|
||||
wellModel().addWellFluxEq(cq_s, state, residual_);
|
||||
addWellContributionToMassBalanceEq(cq_s, state, well_state);
|
||||
wellModel().addWellControlEq(state, well_state, aliveWells, residual_);
|
||||
return iter_report;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user