Improved stability for LCAO with orbital-dependent functionals for magnetic systems.
Description
In case of orbital-dependent functionals, we now force the code to do an LDA calculation. This avoids getting wrong results for magnetic systems, as otherwise the magnetization was not constrained.
News snippet
Improved stability for LCAO with orbital-dependent functionals for magnetic systems.
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.