8 #ifndef __ORBITAL_EXPRESSIONS_H 9 #define __ORBITAL_EXPRESSIONS_H 11 #include "../Core/SharedLibraryExportMacros.h" 46 unsigned deriv_order=0
Defines various astronomical constants.
double orbital_angular_velocity(double m1, double m2, double semimajor, bool deriv)
Returns the orbital angular velocity of the given orbit in rad/day.
double orbital_energy(double m1, double m2, double semimajor, unsigned deriv_order)
The energy of the orbit (assuming 0 gravitational potential at infinity) in .
LIB_PUBLIC double semimajor_from_period(double m1, double m2, double period)
Return the semiamjor axis in solar radii required to have the given masses orbit with the given perio...
double orbital_angular_momentum(double m1, double m2, double semimajor, double eccentricity)
The angular momentum of the orbit in .