1
0

Correct computation of E and L in center of mass for binary system

This commit is contained in:
Thibault Barnouin
2021-11-26 15:16:17 +01:00
parent e51f41c6a7
commit 98fdbaefeb
7 changed files with 44 additions and 18 deletions

View File

@@ -55,7 +55,7 @@ def leapfrog(dyn_syst, bin_syst, duration, dt, recover_param=False, display=Fals
sma[j] = bin_syst.sma
ecc[j] = bin_syst.ecc
if display and j % 50 == 0:
if display and j % 10 == 0:
# display progression
if len(dyn_syst.bodylist) == 1:
d.on_running(dyn_syst, step=j, label="step {0:d}/{1:d}".format(j, N))