Bugfix for restart and TDFreezeU.
Description
In case the option TDFreezeU was used, the potential was not updated just after the restart for the correct (GS) value of the U, causing the first iteraction after the restart to used wrongly the U from the orbitals instead of the GS one.
News snippet
Bugfix for restart and TDFreezeU.
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.