spirit-code / spirit

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

Geometry change with non-monoatomic basis #492

Closed SpiritSuperUser closed 5 years ago

SpiritSuperUser commented 5 years ago

The geometry change within the UI does not work for a basis with more than one atom. The sublattices are somehow shifted with respect to each other. The following three images illustrate this. The goemetry is changed from 50x50 to 30x30 and back to 50x50: 2019-02-05_07-47-22_screenshot_1 2019-02-05_07-47-22_screenshot_2 2019-02-05_07-47-22_screenshot_3

GPMueller commented 5 years ago

This bug can be verified for example with input.txt, but a simpler example with only 2 basis atoms would be better.

GPMueller commented 5 years ago

Fixed with b947b784c89ae551a2cbfef922885cb94ea2c7bf.