Florian-DELRIEU / Gravitationnal-Sytem

Gravitational simulator for a system of N body
1 stars 0 forks source link

Body List errors #6

Closed Florian-DELRIEU closed 3 years ago

Florian-DELRIEU commented 4 years ago
In [82]: run GS_2D.py                                                                            

In [83]: a.Body_list                                                                             
Out[83]: []

In [84]: a.Domain.BodyList                                                                       
Out[84]: 
[Astral Body
             - Pos = (0 , 0)
             - Mass = 1
         ,
 Astral Body
             - Pos = (0.29146585824205795 , -0.9616245418471069)
             - Mass = 1
         ]

a.Body_list et a.Domain.BodyList devrait être pareils

Florian-DELRIEU commented 3 years ago
In [82]: run GS_2D.py                                                                            

C'est quoi GS_2D.py ?

Florian-DELRIEU commented 3 years ago

fix in b1c67b4488da8645f8dac5444888fdb03a95bffa