Fix the random guess magnetization density
Description
For neutral atoms, the atomic magnetization density is always zero. As a consequence the guess random magnetization density was always zero.
This is fixed by imposing a 1 \mu_B magnetization for charge neutral atoms.
News snippet
Fix the random guess magnetization density for closed-shell atoms
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.