|
EGXPhys
|
Functions | |
| template<typename T > | |
| T | EGXPhys::PlanetaryMass (const T &planetMass, const T &referenceMass) |
| Calculates the planetary mass \((M)\) of a planet when comparing it to the mass of a reference planet \((m_{ref})\). \[M=\frac{m_{planet}}{m_{ref}}\] | |
| template<typename T > | |
| T | EGXPhys::PlanetaryEarthMass (const T &planetMass) |
| Calculates the planetary mass \((M)\) of a planet when comparing it to the mass of Earth \((M_\oplus)\). Also known as Earth Mass. \[M=\frac{m_{planet}}{M_\oplus}\] | |
| template<typename T > | |
| T | EGXPhys::PlanetaryLunarMass (const T &planetMass) |
| Calculates the planetary mass \((M)\) of a planet when comparing it to the mass of the Moon \((M_L)\). Also known as Lunar Mass. \[M=\frac{m_{planet}}{M_L}\] | |
| template<typename T > | |
| T | EGXPhys::PlanetaryJupiterMass (const T &planetMass) |
| Calculates the planetary mass \((M)\) of a planet when comparing it to the mass of Jupiter \((M_J)\). Also known as Jupiter Mass. \[M=\frac{m_{planet}}{M_J}\] | |
| template<typename T > | |
| T | EGXPhys::PlanetaryJovianMass (const T &planetMass) |
| Calculates the planetary mass \((M)\) of a planet when comparing it to the mass of Jupiter \((M_J)\). Also known as Jovian Mass. \[M=\frac{m_{planet}}{M_J}\] | |
| T EGXPhys::PlanetaryEarthMass | ( | const T & | planetMass | ) |
Calculates the planetary mass \((M)\) of a planet when comparing it to the mass of Earth \((M_\oplus)\). Also known as Earth Mass.
\[M=\frac{m_{planet}}{M_\oplus}\]
See https://en.wikipedia.org/wiki/Earth_mass.
| planetMass | \(m_{planet}\ (kg)\) is the mass of the planet. |
| T EGXPhys::PlanetaryJovianMass | ( | const T & | planetMass | ) |
Calculates the planetary mass \((M)\) of a planet when comparing it to the mass of Jupiter \((M_J)\). Also known as Jovian Mass.
\[M=\frac{m_{planet}}{M_J}\]
See https://en.wikipedia.org/wiki/Jupiter_mass.
| planetMass | \(m_{planet}\ (kg)\) is the mass of the planet. |
| T EGXPhys::PlanetaryJupiterMass | ( | const T & | planetMass | ) |
Calculates the planetary mass \((M)\) of a planet when comparing it to the mass of Jupiter \((M_J)\). Also known as Jupiter Mass.
\[M=\frac{m_{planet}}{M_J}\]
See https://en.wikipedia.org/wiki/Jupiter_mass.
| planetMass | \(m_{planet}\ (kg)\) is the mass of the planet. |
| T EGXPhys::PlanetaryLunarMass | ( | const T & | planetMass | ) |
Calculates the planetary mass \((M)\) of a planet when comparing it to the mass of the Moon \((M_L)\). Also known as Lunar Mass.
\[M=\frac{m_{planet}}{M_L}\]
See https://en.wikipedia.org/wiki/Planetary_mass.
| planetMass | \(m_{planet}\ (kg)\) is the mass of the planet. |
| T EGXPhys::PlanetaryMass | ( | const T & | planetMass, |
| const T & | referenceMass | ||
| ) |
Calculates the planetary mass \((M)\) of a planet when comparing it to the mass of a reference planet \((m_{ref})\).
\[M=\frac{m_{planet}}{m_{ref}}\]
See https://en.wikipedia.org/wiki/Planetary_mass.
| planetMass | \(m_{planet}\ (kg)\) is the mass of the planet. |
| referenceMass | \(m_{ref}\ (kg)\) is the mass of the reference planet. |