mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Respect NEXTSTEP in ecl genericproblem timestepper
This commit is contained in:
parent
43c0931cd3
commit
9234fd8aa6
@ -347,8 +347,9 @@ beginEpisode_(bool enableExperiments,
|
|||||||
// react to TUNING changes
|
// react to TUNING changes
|
||||||
if (episodeIdx > 0 && enableTuning_ && events.hasEvent(ScheduleEvents::TUNING_CHANGE))
|
if (episodeIdx > 0 && enableTuning_ && events.hasEvent(ScheduleEvents::TUNING_CHANGE))
|
||||||
{
|
{
|
||||||
const auto& tuning = schedule_[episodeIdx].tuning();
|
const auto& sched_state = schedule_[episodeIdx];
|
||||||
initialTimeStepSize_ = tuning.TSINIT;
|
const auto& tuning = sched_state.tuning();
|
||||||
|
initialTimeStepSize_ = sched_state.max_next_tstep();
|
||||||
maxTimeStepAfterWellEvent_ = tuning.TMAXWC;
|
maxTimeStepAfterWellEvent_ = tuning.TMAXWC;
|
||||||
maxTimeStepSize_ = tuning.TSMAXZ;
|
maxTimeStepSize_ = tuning.TSMAXZ;
|
||||||
restartShrinkFactor_ = 1./tuning.TSFCNV;
|
restartShrinkFactor_ = 1./tuning.TSFCNV;
|
||||||
|
Loading…
Reference in New Issue
Block a user