GuessMagnetDensity with Hartree-Fock
Description
Forbid to use GuessMagnetDensity with Hartree-Fock calculations, as this has no meaning.
News snippet
Prevent using an unsupported feature.
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.