Arithmetic precision:* | 64 bits |
Number of objects: | 492 |
Number of cycles: | 50 000 |
Seconds per cycle: | 0.5 |
Mass of the heavy object: | 1e12 kg. |
Mass of each particle: | 3e4 kg. |
Radius of the heavy object: | 15 m. |
Radius of each particle: | 2 m. |
Total mass of particles (complex object): | 1.473e7 kg. |
Initial speed of particles: | from ~0.1 to ~0.3 m/s |
Interacting law: | Newton's law of gravity |
*GMP is used for floating point numbers. Precision is compromised by math.h functions atan2, sin and cos. If you have C++ implementation of CORDIC or other fast algorithm, you can share it here.
Коментари
Публикувай нов коментар