JuliaStellarDynamics / OrbitalElements.jl

Compute orbital elements using Julia.
6 stars 2 forks source link

Disentangling mappings from their methods (anomaly, differentiation, integration, inversion) #10

Open MathieuRoule opened 7 months ago

MathieuRoule commented 7 months ago

Right now, the methods used for numerical computations are somehow hardcoded and their parameters are all contained in the OrbitalParameters structure. It would be great to free the following methods (probably using multi-dispatch ?):

One way to currently bypass this for a specific potential is to define all the mappings using multi-dispatch on the model type. This is already used for the analytic computations for Isochrone. However, this is not very convenient.

We should keep in mind the following requirements: