Correct computation of E and L in center of mass for binary system
This commit is contained in:
@@ -102,7 +102,7 @@ def hermite(dyn_syst, duration, dt, recover_param=False, display=False, savename
|
||||
sma[j] = bin_syst.sma
|
||||
ecc[j] = bin_syst.ecc
|
||||
|
||||
if display and j % 100 == 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))
|
||||
|
||||
Reference in New Issue
Block a user