add gif
This commit is contained in:
6
main.py
6
main.py
@@ -28,13 +28,13 @@ def main():
|
|||||||
v = np.array([v1, v2, v3],dtype=np.longdouble)
|
v = np.array([v1, v2, v3],dtype=np.longdouble)
|
||||||
|
|
||||||
#integration parameters
|
#integration parameters
|
||||||
duration, step = 10000*yr, np.longdouble(1.0/2.*86400.) #integration time and step in seconds
|
duration, step = 5000*yr, np.longdouble(1.0/1.*86400.) #integration time and step in seconds
|
||||||
integrator = "leapfrog"
|
integrator = "leapfrog"
|
||||||
n_bodies = 3
|
n_bodies = 3
|
||||||
display = False
|
display = False
|
||||||
gif = False
|
gif = False
|
||||||
savename = "{0:d}bodies_1_{1:s}".format(n_bodies, integrator)
|
savename = "{0:d}bodies_{1:s}".format(n_bodies, integrator)
|
||||||
display_param = True
|
display_param = False
|
||||||
|
|
||||||
#simulation start
|
#simulation start
|
||||||
bodylist = []
|
bodylist = []
|
||||||
|
|||||||
BIN
plots/3bodies_1_leapfrog_dynsyst.gif
Normal file
BIN
plots/3bodies_1_leapfrog_dynsyst.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 636 KiB |
Reference in New Issue
Block a user