Improved dft u mixing
Description
The mixing of the DFT+U ingredients (occupation matrices and U) was not done properly for the first iteration. This could slow down the convergence for +U calculations.
News snippet
Improving the mixing for DFT+U GS calculations.
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.