SunnySuite / Sunny.jl

Spin dynamics and generalization to SU(N) coherent states
Other
86 stars 19 forks source link

Accelerate force calculation #79

Closed Lazersmoke closed 1 year ago

Lazersmoke commented 1 year ago

Uses Kip's CartesianIndicesShifted to efficiently implement periodic boundary conditions. Also accelerates energy_aux and allows the interactions to use site indices instead of cell+sublattice (if someone were to add an interaction in the future, this is the nicer way for them to write their code in the first place)