mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
simulator: another bug in the episode handling
this time it was caused by the fact that the episodeStartTime_ is defined as the time which was elapsed from the beginning of the simulation instead of the posix time which the simulation currently looks at...
This commit is contained in:
parent
11b77029cf
commit
6c881ab88f
@ -290,13 +290,6 @@ public:
|
||||
// we want the episode index to be the same as the report step
|
||||
// index to make things simpler...
|
||||
simulator.setEpisodeIndex(0);
|
||||
|
||||
// the user-specified initial time step can be shorter than
|
||||
// the initial report step size given in the deck, but it
|
||||
// can't be longer.
|
||||
Scalar dt = simulator.timeStepSize();
|
||||
if (dt > simulator.episodeLength())
|
||||
simulator.setTimeStepSize(simulator.episodeLength());
|
||||
}
|
||||
|
||||
/*!
|
||||
|
Loading…
Reference in New Issue
Block a user