spirit-code / spirit

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

Core: add Solver kernels backend file #514

Open GPMueller opened 5 years ago

GPMueller commented 5 years ago

Since it would be a lot of work to change the current functionality of the backend, an easy improvement would be to introduce a new backend file, called e.g. 'Solver_Kernels'. It would contain some of the current Vectormath functions, such as the SIB-specific transform.

This could improve the performance and memory cost of some solvers by avoiding temporaries and especially avoiding multiple for-loops for chained operations.

GPMueller commented 4 years ago

The kernels file has been merged into develop with e818969fda25f3b3d2c6fc7239a692e19297f585. Is the work on this finished or should more of the solvers still be updated?