Esempio n. 1
0
 public static double Get(TidalAccelerationMode mode) => _accs[mode];
Esempio n. 2
0
 /// <summary>
 /// Astronomical Almanac table is corrected by adding the expression
 ///     -0.000091 (ndot + 26)(year-1955)^2  seconds
 /// to entries prior to 1955 (AA page K8), where ndot is the secular tidal term in the mean motion of the Moon.
 /// Entries after 1955 are referred to atomic time standards and are not affected by errors in Lunar or planetary theory.
 /// </summary>
 /// <see cref="adjust_for_tidacc"/>
 public static double AdjustForTidalAcceleration(double ans, double year, double tidalAcceleration, TidalAccelerationMode mode, bool adjustAfter1955)
 {
     if (year < 1955.0 || adjustAfter1955)
     {
         double B = year - 1955.0;
         ans += -0.000091 * (tidalAcceleration - Get(mode)) * B * B;
     }
     return(ans);
 }