Planetary Orbital Evolution due to Tides
Orbital evolution of two objects experiencing tides
Oblique10LinearQuantity.h
Go to the documentation of this file.
1 
10 #ifndef __OBLIQUE_1_0_LINEAR_QUANTITY_H
11 #define __OBLIQUE_1_0_LINEAR_QUANTITY_H
12 
13 #include "../../Core/Functions.h"
14 #include "../../Core/InterpSolutionIterator.h"
15 
19 private:
20  double
24 
26  //units of the orbital angular momentum.
28 
32 
35 
38  double indefinite_integral(double star_angmom) const;
39 
40 public:
41  Oblique10LinearQuantity(double total_angmom,
42  double orbital_angmom,
43  double initial_star_angmom);
44 
45  double operator()(double star_angmom) const;
46 
47  double range_high() const {return __initial_star_angmom * __angmom_scale;}
48  double range_low() const {return (__total_angmom - 1.0) * __angmom_scale;}
49 
53  {
55  "Finding all solutinos of Oblique10LinearQuantity not supported!"
56  );
57  };
58 
65  const Core::FunctionDerivatives *deriv(double star_angmom) const;
66 
67 }; //End Oblique10LinearQuantity class.
68 
69 #endif
double indefinite_integral(double star_angmom) const
Return the real part of the indefinite integral of the inverse of the rate of change of the stellar a...
double range_low() const
The upper end of the range over which the function is defined.
double __angmom_scale
The initial orbital angular momentum (everything is scaled by this quantity).
Core::InterpSolutionIterator crossings(double=0) const
An iterator over the abscissas where the function takes the given y value.
double operator()(double star_angmom) const
The value of the function at the given abscissa.
A class representing a once differentiable function of a single argument.
Definition: Functions.h:104
double range_high() const
The lower end of the range over which the function is defined.
Any runtime error.
Definition: Error.h:61
double __initial_indefinite_integral
The value of indefinite integral(__initial_star_angmom)
An iterator over a set of solutions to an interpolating function.
double __total_angmom
The Magnitude of the total angular momentum in the system in units of the orbital angular momentum (c...
const Core::FunctionDerivatives * deriv(double star_angmom) const
Returns a pointer to the derivative of the function.
double __initial_star_angmom
The Magnitude of the initial stellar spin angular momentum in.
A class representing arbitrary order derivatives of a function.
Definition: Functions.h:66
A function of the stellar angular momentum expected to evolve linearly with time under the m = 1...