External potential clocks
Description
External potentials now properly initialize and update their clocks. This currently does not affect how the code behaves (except in debug more, where the uninitialized clock time was being printed), but will be important when we introduce time-dependent external potentials in the new framework. Also to prepare this, several changes were introduced to the clocks, as now we can have clocks that don't have a time-step.
News snippet
External potentials now properly initialize and update their clocks.
Checklist
-
I have checked that my code follows the Octopus coding standards -
I have added tests for all the new features added in this request.