- #1
Heimdall
- 42
- 0
Hi,
I have this hamiltonian
[tex] K = \frac{1}{2}(P_1^2 + P_2^2) + P_1 Q_2 - P_2 Q_1 - (\frac{1-\mu}{R_1}+\frac{\mu}{R_2})[/tex]
(see this link if there is any latex problem)
with non separable variables.
I am looking for a symplectic algorithm (runge kutta would be good) to solve the correspondant first order equations, but I can't find it on the internet.
moreover it seems difficult and I don't understand enough what is a symplectic algorithm to code do it by myself..
thx a lot.
I have this hamiltonian
[tex] K = \frac{1}{2}(P_1^2 + P_2^2) + P_1 Q_2 - P_2 Q_1 - (\frac{1-\mu}{R_1}+\frac{\mu}{R_2})[/tex]
(see this link if there is any latex problem)
with non separable variables.
I am looking for a symplectic algorithm (runge kutta would be good) to solve the correspondant first order equations, but I can't find it on the internet.
moreover it seems difficult and I don't understand enough what is a symplectic algorithm to code do it by myself..
thx a lot.
Last edited: