ericagol / NbodyGradient.jl

N-body integrator computes derivatives with respect to initial conditions for TTVs, RV, Photodynamics & more
MIT License
20 stars 9 forks source link

Simplifying c34 term #64

Open ericagol opened 3 years ago

ericagol commented 3 years ago

https://github.com/ericagol/NbodyGradient.jl/blob/0afa7a5fd387b307e3704ded05ec01838b01478c/src/integrator/ahl21/ahl21.jl#L1139-L1140

We can combine three of the terms into a single term squared: -\beta(\eta_0G_2+r_0G_1)^2