public subroutine tem_time_load(me, conf, key, parent, clock_start)
Reading a time description from a Lua script given by conf.
The time description has to be provided in the table given by thandle.
The time can be given in terms of:
- iter: number of iterations
- sim: simulated time
- clock: running time used to compute the simulation
Thus, the configuration looks like:
\verbatim
time = { iter = 123, sim = 1.23, clock = 12.3 }
\end verbatim
Omitted time defintions are set to the maximal representable number,
indicating something like never.
If the time is not provided as a table, it is interpreted as a setting of
the sim time, the other entries are set to never.
The optional argument clock_start is useful to overwrite the current time
by the settings in a loaded restart header.
With clock_start the old reference wtime from tem_time_reset can be
maintained, while iterations and simulation time can be inherited from
the configuration.
\todo HK: maybe provide the possibility to add up run times from loaded
data instead of resetting it.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.