Arne Morten Kvarving
f2a14b2d07
SimulatorTimer: add serialization support
2023-02-13 18:01:16 +01:00
Arne Morten Kvarving
4786deeffc
SimulatorTimer: include boost header instead of forwarding
...
drop the pointer usage which was used to enable forwarding
2023-02-13 17:59:35 +01:00
Joakim Hove
6b92443cb4
Downstream filesystem reorganisation in opm-common
2022-01-02 14:33:34 +01:00
Tor Harald Sandve
06878a8ca8
fix date for large time steps
2021-09-29 15:43:20 +02:00
Arne Morten Kvarving
fcb5d3dd82
SimulatorTimer: avoid boost includes in headers
2021-06-08 15:44:28 +02:00
Arne Morten Kvarving
04e856f831
SimulatorTimer: mark methods override
2021-06-08 15:32:58 +02:00
Joakim Hove
6f15765f53
Use Schedule time functions - avoid TimeMap
2021-02-25 18:10:22 +01:00
Arne Morten Kvarving
3c0cb9e950
adjust for changed ParameterGroup namespacing
2017-04-28 15:36:25 +02:00
Arne Morten Kvarving
86fbb36fd2
adjustments for imported files
...
- adjust include paths
- add new test to build system
- add new example to build system
2017-02-10 13:02:00 +01:00
Tor Harald Sandve
f65f5d2c3b
Store whether timestep failed or not
...
Used in flow ebos to tell the simulator to recalculate the cached
quantities for failed timesteps.
2016-12-19 10:52:59 +01:00
Jørgen Kvalsvik
ad6b77cc15
Update to shared_ptr-less parser interface.
2016-10-20 10:14:41 +02:00
Kai Bao
02a3ba39b5
adding a initialStep() function to SimulatorTimer
...
to indicate if the current step is the inital step.
2016-07-04 11:12:53 +02:00
Liu Ming
6097a14b0e
get current date time.
2016-06-21 11:25:05 +08:00
Robert Kloefkorn
f9f13143a2
SimulatorTimers: added method clone to allow for copying of the objects.
2016-03-29 10:34:16 +02:00
Atgeirr Flø Rasmussen
cb41a45687
Remove unused 'restart' parameter from SimulatorTimer::init().
2016-02-29 11:03:08 +01:00
chflo
d43f109770
OPM-251: Support for restart
2016-01-04 16:11:21 +01:00
Robert K
e84325a0a7
make documentation equal for all three classes.
2015-01-28 15:46:11 +01:00
Robert K
f771becf25
SimulatorTimer...: added method advance which is the new interface for previously used
...
operator++.
2015-01-28 15:25:11 +01:00
Robert K
757bc67b80
cleanup: reportStepIdx --> writeStepIdx.
...
startDate --> startDateTime
removal of debug output.
2015-01-09 16:22:03 +01:00
Robert K
be69c4c10e
Introduce an interface for SimulatorTimer and AdaptiveSimulatorTimer.
...
currentDateTime and currentPosixTime are default implementations.
2015-01-09 16:21:20 +01:00
Robert K
e99158faa9
reset to old state.
2014-10-03 14:10:56 +02:00
Robert K
02e346d8cc
improvement of the time step adjustment.
2014-10-02 14:04:32 +02:00
Robert K
455b066b2a
sub step simulator timer.
2014-10-01 13:56:27 +02:00
Robert K
9c86ddc6bb
reset master.
2014-10-01 13:55:42 +02:00
Robert K
ade58e64b9
SubStepSimulationTimer for time step control. Needs documentation and cleanup.
2014-09-30 15:55:26 +02:00
Andreas Lauser
0fe2d04708
remove EclipseGridParser compatibility methods from all classes
2014-05-21 11:22:43 +02:00
Kai Bao
500053d6aa
A new SimulatorTimer Class
2014-03-26 15:53:54 +01:00
Andreas Lauser
f2e9016bd0
SimulatorTimer: allow it to be limited to a sub-range of all report steps
2014-03-19 11:36:39 +01:00
Andreas Lauser
caf10e0e7f
SimulatorTimer: rename currentTime() to simulationTimeElapsed()
...
because the name "currentTime()" can be mistaken for the point in
real-life time at which the simulation is run (e.g. March 11, 2014,
15:07:45.123), the _point_ in time which the simulator timer currently
represents (e.g. Jun 5, 1985, 02:33:12.345) instead of the simulator
time in seconds which elapsed since the START date
(e.g. 52633.345 s).
this rename may lead to some fallout in other modules. I'll
fix them after this PR has been merged...
2014-03-12 19:01:58 +01:00
Andreas Lauser
85a0032247
SimulatorTimer: make it possible to base it on opm-parser's TimeMap
...
Since SimulatorTimer is a fairly shallow shim if using the TimeMap, it
can also be removed relatively easily. Having said this, that would
trigger _many_ changes in _a lot_ of places and I'm not motivated at
all to fight that battle as long as the old parser needs to be
supported. I thus decided that the best way is to add a "wrapper mode"
to SimulationTimer...
2014-02-27 12:56:23 +01:00
Roland Kaufmann
f30ab55974
Provide routine to return the step length taken
...
The output routine needs to know which step that has been taken in the
past (to arrive at this result), not which step to take next going
forward.
2013-11-27 00:36:17 +01:00
Roland Kaufmann
73dfe849d6
Replace unclear constant with better documentation
...
The step number is zero before the first timestep has been taken, and
one after. The step number is one before the second timestep has been
taken, and two after. This was not clear from the text.
2013-11-27 00:23:00 +01:00
Roland Kaufmann
2ba7b3329d
Make starting timestep more explicitly known
...
One-based or zero-based? Better be documented (in a way that doesn't
promote hard-coding in the clients!)
2013-11-26 12:44:37 +01:00
Atgeirr Flø Rasmussen
f893adbda6
Document function currentDateTime().
2012-11-26 10:49:15 +01:00
Joakim Hove
09b3ef785c
Added start_date_ property to the SimulatorTimer class
2012-11-07 14:53:26 +01:00
Atgeirr Flø Rasmussen
67c13e794a
Moved SimulatorTimer class to opm/core/simulator directory.
2012-06-14 14:02:22 +02:00