Closed GPMueller closed 5 years ago
See https://github.com/spirit-code/spirit/blob/develop/core/src/engine/Hamiltonian_Heisenberg.cpp#L409-L431 and analogous for DMI, DDI and quadruplets, as well as in Hamiltonian_Heisenberg.cu. Not only the index i should be checked, but all indices of the Pairs/Quadruplets.
i
Pair
Quadruplet
This leads to strange behaviour and incorrect MC results.
This should be fixed with c3b57b108293f11f5c34c3027c86cf04971c65b4.
See https://github.com/spirit-code/spirit/blob/develop/core/src/engine/Hamiltonian_Heisenberg.cpp#L409-L431 and analogous for DMI, DDI and quadruplets, as well as in Hamiltonian_Heisenberg.cu. Not only the index
i
should be checked, but all indices of thePair
s/Quadruplet
s.This leads to strange behaviour and incorrect MC results.