giulioforesto / planets

A 2D plotted planets movement simulator
0 stars 0 forks source link

Treatment of more general potential #13

Closed gabrielfougeron closed 9 years ago

gabrielfougeron commented 9 years ago

For now, the code only allows power laws of the relative distances.

gabrielfougeron commented 9 years ago

Generalization to any potential function of relative distance OK. Associated time-loss is inexistend (function is most probably inlined since declared pure).