tests for third object with mass
This commit is contained in:
2
main.py
2
main.py
@@ -25,7 +25,7 @@ def main():
|
||||
v = np.array([v1, v2, v3])
|
||||
|
||||
#integration parameters
|
||||
duration, step = 100*yr, np.array([1./(365.25*2.), 1./365.25])*yr #integration time and step in years
|
||||
duration, step = 100*yr, np.array([1./(365.25*4.), 1./(365.25*2.), 1./365.25])*yr #integration time and step in years
|
||||
integrator = "leapfrog"
|
||||
n_bodies = 2
|
||||
display = False
|
||||
|
||||
Reference in New Issue
Block a user