Octopus
|
Private Member Functions | |
type(iteration_counter_t) pure function | clock_constructor (time_step, initial_iteration) |
Initialize the clock with a given time step. More... | |
|
private |
Initialize the clock with a given time step.
The internal clock counter starts at zero or if the optional argument initial_value is given at the value of initial_value.
Note that the time step used by the clock might not be identical to the requested time step. This is because we need to enforce the time step to be a multiple of the minimum time step or otherwise the calculated time will not be an exact multiple of the time step.