spirit-code / spirit

Atomistic Spin Simulation Framework
http://spirit-code.github.io
MIT License
117 stars 52 forks source link

Defects and DDI #556

Open MSallermann opened 4 years ago

MSallermann commented 4 years ago

If additional defects are specified via the n_defects option, the magnetic moment gets always set to 0. If the defect is, however, not a vacancy this is wrong and should be changed.

Further, if a vacancy is set by reading in an image file with a (0,0,0) vector the magnetic moment is not correctly set to 0.