NbodyGradient.jl
NbodyGradient.jl copied to clipboard
Correction term with fast kicks
There may be an error in the code in which the 4th-order correction is not included due to bodies which are in A or A^C:
https://github.com/ericagol/NbodyGradient.jl/blob/dc5e950a38cfc390f98f189d01ed328ec4c8ceca/src/integrator/ahl21/ahl21_no_grad.jl#L69-L114
https://github.com/ericagol/NbodyGradient.jl/blob/dc5e950a38cfc390f98f189d01ed328ec4c8ceca/src/integrator/ahl21/ahl21_no_grad.jl#L116-L169
These functions are correct. However, David Hernandez found an error in the ahl21
routine by which the drift and kickfast calls were swapped.
Was this fixed? @ericagol
Yes, it was.
It might be worth tracking down which pull request fixed this before closing the issue.