mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-16 20:24:48 -06:00
Merge pull request #5259 from blattms/fix-limit-nextstep
[bugfix] Use reasonable timestep if NEXTSTEP in ACTIONX is used.
This commit is contained in:
commit
4ea4ec94d8
@ -387,7 +387,8 @@ std::set<std::string> consistentlyFailingWells(const std::vector<StepReport>& sr
|
||||
// get current delta t
|
||||
auto oldValue = suggestedNextTimestep_;
|
||||
if (tuningUpdater()) {
|
||||
substepTimer.setCurrentStepLength(suggestedNextTimestep_);
|
||||
// Use provideTimeStepEstimate to make we sure don't simulate longer than the report step is.
|
||||
substepTimer.provideTimeStepEstimate(suggestedNextTimestep_);
|
||||
suggestedNextTimestep_ = oldValue;
|
||||
}
|
||||
const double dt = substepTimer.currentStepLength();
|
||||
|
Loading…
Reference in New Issue
Block a user