-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoutput.txt
More file actions
81 lines (80 loc) · 3.37 KB
/
output.txt
File metadata and controls
81 lines (80 loc) · 3.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
C:\ProgramData\Anaconda3\python.exe C:/Users/sheld/PycharmProjects/CSC336-Final-Project/Simulation.py
=================================Start dt=3600 1 years=============================
-------------------Verlet-----------------------
Initializing...
Simulating...
There are 8761 simulation steps in total
Verlet simulation took: 1.4658772945404053 s to finish
The energy difference for Verlet method is:0.6976474135713618%
-------------------RK4-----------------------
Initializing...
Simulating...
There are 8761 simulation steps in total
RK4 simulation took: 5.0130934715271 s to finish
The energy difference for RK4 method is:0.698478277558383%
=================================Start dt=1800 1 years=============================
-------------------Verlet-----------------------
Initializing...
Simulating...
There are 17522 simulation steps in total
Verlet simulation took: 2.940660238265991 s to finish
The energy difference for Verlet method is:0.698063871205381%
-------------------RK4-----------------------
Initializing...
Simulating...
There are 17522 simulation steps in total
RK4 simulation took: 10.015254497528076 s to finish
The energy difference for RK4 method is:0.6984784171734635%
=================================Start dt=3600 17 years============================
-------------------Verlet-----------------------
Initializing...
Simulating...
There are 148938 simulation steps in total
Verlet simulation took: 25.035300254821777 s to finish
The energy difference for Verlet method is:12.471001829359542%
-------------------RK4-----------------------
Initializing...
Simulating...
There are 148938 simulation steps in total
RK4 simulation took: 85.500159740448 s to finish
The energy difference for RK4 method is:12.472221620979168%
=================================Start dt=1800 17 years============================
-------------------Verlet-----------------------
Initializing...
Simulating...
There are 297877 simulation steps in total
Verlet simulation took: 50.099233865737915 s to finish
The energy difference for Verlet method is:12.471731183976807%
-------------------RK4-----------------------
Initializing...
Simulating...
There are 297877 simulation steps in total
RK4 simulation took: 171.14948058128357 s to finish
The energy difference for RK4 method is:12.472333823376706%
=================================Start dt=3600 165 years ==========================
-------------------Verlet-----------------------
Initializing...
Simulating...
There are 1445583 simulation steps in total
Verlet simulation took: 243.77072715759277 s to finish
The energy difference for Verlet method is:3.799332807131185%
-------------------RK4-----------------------
Initializing...
Simulating...
There are 1445583 simulation steps in total
RK4 simulation took: 828.9779646396637 s to finish
The energy difference for RK4 method is:3.7950793248499215%
=================================Start dt=1800 165 years ==========================
-------------------Verlet-----------------------
Initializing...
Simulating...
There are 2891166 simulation steps in total
Verlet simulation took: 488.6855766773224 s to finish
The energy difference for Verlet method is:3.797198640881666%
-------------------RK4-----------------------
Initializing...
Simulating...
There are 2891166 simulation steps in total
RK4 simulation took: 1658.6133966445923 s to finish
The energy difference for RK4 method is:3.7950795420372447%
Process finished with exit code 0