mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-12 08:54:53 -05:00
fix warnings.
This commit is contained in:
1 parent
3eb1484f47
commit
136839bd20
2 files changed
+3
-2
No files matched your search
@@ -150,7 +150,7 @@ namespace Opm {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Report and return.
|
// Report and return.
|
||||||
return IterationReport { false, true, pressure_liniter + transport_liniter };
|
return IterationReport { false, true, pressure_liniter + transport_liniter, 0 };
|
||||||
} else {
|
} else {
|
||||||
// Iterate to fully implicit solution.
|
// Iterate to fully implicit solution.
|
||||||
// This call is just for a single iteration (one pressure and one transport solve),
|
// This call is just for a single iteration (one pressure and one transport solve),
|
||||||
@@ -179,7 +179,7 @@ namespace Opm {
|
|||||||
|
|
||||||
// Report and return.
|
// Report and return.
|
||||||
const bool converged = iteration >= 3; // TODO: replace this with a proper convergence check
|
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_);
|
wellModel().addWellFluxEq(cq_s, state, residual_);
|
||||||
addWellContributionToMassBalanceEq(cq_s, state, well_state);
|
addWellContributionToMassBalanceEq(cq_s, state, well_state);
|
||||||
wellModel().addWellControlEq(state, well_state, aliveWells, residual_);
|
wellModel().addWellControlEq(state, well_state, aliveWells, residual_);
|
||||||
|
return iter_report;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user