Commit graph

5 commits

Author SHA1 Message Date
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
70a6259d8b
bug fix 2023-02-15 13:34:49 +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
ba56e6b252
Add files via upload 2023-02-14 00:47:37 +01:00