Refactor the FIRE algorithm
Description
Document the algorithm. While doing it, I found several small bugs and rewrote it to match the original paper and be simpler. In particular, the velocity verlet was not really correct, and the algorithm was not incrementing some counter, resulting in no time-step acceleration. Overall this was making the algorithm much slower than what it could be.
News snippet
Fixes for the FIRE algorithm.
Checklist
-
I have checked that my code follows the Octopus coding standards -
I have added tests for all the new features added in this request.