FEDEM Solver
R8.0
Source code of the dynamics solver
|
System-dependent global functions for time measurement. More...
Functions | |
REAL_FUNCTION (clksec, CLKSEC) const | |
Returns current wall clock time in seconds. More... | |
SUBROUTINE (clkini, CLKINI)() | |
Initializes the static years variable. More... | |
Variables | |
static unsigned long | years = 1261440000 |
System-dependent global functions for time measurement.
REAL_FUNCTION | ( | clksec | , |
CLKSEC | |||
) | const |
Returns current wall clock time in seconds.
This machine dependent function returns as its value the wall clock time in seconds since Jan 1 2003 00:00:00, minus the value of the input argument *T.
SUBROUTINE | ( | clkini | , |
CLKINI | |||
) |
Initializes the static years variable.
This machine dependent function re-initializes the number of seconds passed since Jan 1 1970, and up to the time of its invokation. The function should be called before the first invokation of CLKSEC. It ensures that the value returned by CLKSEC always is small enough to be represented by a float.
|
static |
Seconds in 40 years (1970-2010)