14 (2.0 * star_angmom) / (t2minus1 - std::pow(star_angmom, 2))
20 2.0 * atanh(star_angmom / std::sqrt(t2minus1)) / std::sqrt(t2minus1)
30 Oblique10LinearQuantity::Oblique10LinearQuantity(
double total_angmom,
31 double orbital_angmom,
32 double initial_star_angmom) :
38 assert(total_angmom > 0);
39 assert(orbital_angmom > 0);
40 assert(initial_star_angmom > 0);
41 assert(total_angmom <= orbital_angmom + initial_star_angmom);
42 assert(orbital_angmom <= total_angmom + initial_star_angmom);
43 assert(initial_star_angmom <= orbital_angmom + total_angmom);
44 assert(std::pow(total_angmom, 2) - std::pow(orbital_angmom, 2)
46 std::pow(initial_star_angmom, 2));
62 double s2 = std::pow(star_angmom, 2),
65 operator()(star_angmom),
75 std::pow(1.0 + s2 - t2, 2)
84 (1.0 + s2 * s2 - 2.0 * (1.0 + s2) * t2 + t2 * t2)
86 (4.0 * s2 * s2 * star_angmom)
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 __angmom_scale
The initial orbital angular momentum (everything is scaled by this quantity).
double operator()(double star_angmom) const
The value of the function at the given abscissa.
double __initial_indefinite_integral
The value of indefinite integral(__initial_star_angmom)
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.
A class for the derivatives of a cubic spline (=0 for order>2).
Declares a function of the stellar angular momentum that evolves linearly with time when only the m =...