|
EGXPhys
|
Functions | |
| template<typename T > | |
| T | EGXPhys::SolarDay (const T orbitalPeriodIns, const T siderealDayIns) |
| Calculates the solar day, \(T_{Solar}\), of a celestial object in seconds from the length of the celestial object's orbital period, \(T_{Orbit}\), and sidereal day, \(T_{Sidereal}\). A solar day is the time it takes for the celestial object to rotate so the body (sun) it is orbiting appears in the same position in the sky overhead. \[ T_{Solar}=\dfrac{T_{Orbit} * T_{Sidereal}}{T_{Orbit} - T_{Sidereal}}\] . More... | |
| T EGXPhys::SolarDay | ( | const T | orbitalPeriodIns, |
| const T | siderealDayIns | ||
| ) |
Calculates the solar day, \(T_{Solar}\), of a celestial object in seconds from the length of the celestial object's orbital period, \(T_{Orbit}\), and sidereal day, \(T_{Sidereal}\). A solar day is the time it takes for the celestial object to rotate so the body (sun) it is orbiting appears in the same position in the sky overhead.
\[ T_{Solar}=\dfrac{T_{Orbit} * T_{Sidereal}}{T_{Orbit} - T_{Sidereal}}\]
.
See http://www.celestialnorth.org/FAQtoids/dazed_about_days_(solar_and_sidereal).htm and http://astronomy.swin.edu.au/cosmos/S/Sidereal+Day
| orbitalPeriodIns | \( T_{Orbit}\ (s)\) Orbital period of the celestial object in seconds. |
| siderealDayIns | \( T_{Sidereal}\ (s)\) Sidereal day of the celestial object in seconds. Negative number indicates the planet has retrograde rotation. |