Minor optimization for DFT+U
Description
Replacing explicit loops by Blas calls and existing low-level functions.
News snippet
Minor optimization for DFT+U.
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.
Edited by Nicolas Tancogne-Dejean