Commit graph

11 commits

Author SHA1 Message Date
Crizomb
8cbdba1a31
Update README.md 2023-02-15 13:53:45 +01:00
Crizomb
052870b7de
increasing performances
in newton_law d*d*d is faster than d**3
2023-02-15 13:40:18 +01:00
Crizomb
8b2b2a9c34
increasing performances
explicit for loop instead of sum in Node.get_force
2023-02-15 13:38:55 +01:00
Crizomb
e93cae162b
better performances
changed 
self.x = x
self.y = y
self.z = z
to
self.x, self.y, self.z = x, y, z
2023-02-15 13:36:58 +01:00
Crizomb
70a6259d8b
bug fix 2023-02-15 13:34:49 +01:00
Crizomb
ced1874e6c
Update README.md 2023-02-14 12:58:44 +01:00
Crizomb
27a62277a6
performances + blackhole
added __slots__ to the Node class
+
added central black hole at the center of the galaxy in create_stars
2023-02-14 12:57:26 +01:00
Crizomb
0902bab7dd
Update README.md 2023-02-14 00:51:20 +01:00
Crizomb
f705d81d1a
Update README.md 2023-02-14 00:51:00 +01:00
Crizomb
ba56e6b252
Add files via upload 2023-02-14 00:47:37 +01:00
Crizomb
51d9612c5c
Initial commit 2023-02-14 00:46:03 +01:00