Closed ericagol closed 5 years ago
In the case that the integrator uses kicks instead of drifts, the drift should come before the kick, while right now the reverse is true:
https://github.com/ericagol/NbodyGradient/blob/ef6c69fe696f302977d0d317a9c16c5910494352/src/ttv.jl#L1518-L1522
This order is the order used in the Dehnen & Hernandez 2017 equation (40) integrator.
In the case that the integrator uses kicks instead of drifts, the drift should come before the kick, while right now the reverse is true:
https://github.com/ericagol/NbodyGradient/blob/ef6c69fe696f302977d0d317a9c16c5910494352/src/ttv.jl#L1518-L1522