Skip to content

Fix the random guess magnetization density

Nicolas Tancogne-Dejean requested to merge random_guess_neutral_atoms into main

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.

Merge request reports

Loading