Planetary Orbital Evolution due to Tides
Orbital evolution of two objects experiencing tides
OrbitalExpressions.h
Go to the documentation of this file.
1 
8 #ifndef __ORBITAL_EXPRESSIONS_H
9 #define __ORBITAL_EXPRESSIONS_H
10 
11 #include "../Core/SharedLibraryExportMacros.h"
12 #include <cmath>
13 #include "AstronomicalConstants.h"
14 
15 namespace Core {
16 
18  LIB_PUBLIC double orbital_angular_velocity(
20  double m1,
21 
23  double m2,
24 
26  double semimajor,
27 
30  bool deriv=false
31  );
32 
35  LIB_PUBLIC double orbital_energy(
37  double m1,
38 
40  double m2,
41 
43  double semimajor,
44 
46  unsigned deriv_order=0
47  );
48 
51  LIB_PUBLIC double orbital_angular_momentum(
53  double m1,
54 
56  double m2,
57 
59  double semimajor,
60 
62  double eccentricity
63  );
64 
67  LIB_PUBLIC double semimajor_from_period(
69  double m1,
70 
72  double m2,
73 
75  double period
76  );
77 
78 }//End Core namespace.
79 
80 #endif
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 .