Remove explicit initialization in many functions
Description
Explicit initialization in Fortran implies the SAVE attribute, which means that the corresponding variables will keep their value after exiting a subroutine. Especially in multisystem runs, this is unwanted because the same function might be called for two different systems of the same kind; and the function should behave in the same way for both.
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.