Improving the update routine to avoid code and operation duplication.
Description
Improving the update routine to avoid code and operation duplication. This avoid recomputing phases when we do for instance SCF, or when we do local_write.
News snippet
Improving the update routine to avoid code and operation duplication.
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.