spirit-code / spirit

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

Clean implementation of dipole-dipole interactions using FFT convolutions #446

Closed MSallermann closed 6 years ago

MSallermann commented 6 years ago

An Implementation of a convolution algorithm to speed up the calculation of the dipole-dipole interactions. On the CPU it ships with kissFFT but provides the options to use FFTW in core/CMakeLists.txt. On the GPU it uses cuFFT. The interface to the different libraries is wrapped in core/include/engine/FFT.hpp so that the calls in the rest of the code are (mostly) library-independant.

TODO:

coveralls commented 6 years ago

Coverage Status

Coverage decreased (-0.6%) to 84.412% when pulling 212dc3d526edabaefedab7826560255b58a6d8cd on MSallermann:feature-DDI-FFT-clean into e82976901e22c18a00fee80fdac607790ac26878 on spirit-code:develop.

codecov[bot] commented 6 years ago

Codecov Report

Merging #446 into develop will increase coverage by 1.77%. The diff coverage is 89.68%.

@@            Coverage Diff             @@
##           develop    #446      +/-   ##
==========================================
+ Coverage    49.42%   51.2%   +1.77%     
==========================================
  Files           88      90       +2     
  Lines         9452    9773     +321     
==========================================
+ Hits          4672    5004     +332     
+ Misses        4780    4769      -11