Simplify the logic of the calculation of the Hartree theory level.
Description
Simplify the logic of the calculation of the Hartree theory level.
News snippet
Simplify the logic of the calculation of the Hartree theory level.
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.