EGXPhys
Planetary Mass

Functions

template<typename 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. More...

 
template<typename 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. More...

 
template<typename 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. More...

 
template<typename 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. More...

 
template<typename 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. More...

 

Detailed Description

Function Documentation

◆ PlanetaryEarthMass()

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}\]

See https://en.wikipedia.org/wiki/Earth_mass.

Parameters
planetMass\(m_{planet}\ (kg)\) is the mass of the planet.
Returns
\(M\)(dimensionless) Planetary mass. Mass ratio of a planet compared to Earth.
See also
PlanetaryMass() for \(M\) equation using any planet as a reference.
PlanetaryLunarMass() for \(M\) equation using moon as a reference.
PlanetaryJupiterMass() for \(M\) equation using Jupiter as a reference.
PlanetaryJovianMass() for \(M\) equation using Jupiter as a reference.
StellarMass() for \(M\) equation used for star like objects.

◆ PlanetaryJovianMass()

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}\]

See https://en.wikipedia.org/wiki/Jupiter_mass.

Parameters
planetMass\(m_{planet}\ (kg)\) is the mass of the planet.
Returns
\(M\)(dimensionless) Planetary mass. Mass ratio of a planet compared to Jupiter.
See also
PlanetaryMass() for \(M\) equation using any planet as a reference.
PlanetaryEarthMass() for \(M\) equation using earth as a reference.
PlanetaryLunarMass() for \(M\) equation using moon as a reference.
PlanetaryJupiterMass() for \(M\) equation using Jupiter as a reference.
StellarMass() for \(M\) equation used for star like objects.

◆ PlanetaryJupiterMass()

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}\]

See https://en.wikipedia.org/wiki/Jupiter_mass.

Parameters
planetMass\(m_{planet}\ (kg)\) is the mass of the planet.
Returns
\(M\)(dimensionless) Planetary mass. Mass ratio of a planet compared to Jupiter.
See also
PlanetaryMass() for \(M\) equation using any planet as a reference.
PlanetaryEarthMass() for \(M\) equation using earth as a reference.
PlanetaryLunarMass() for \(M\) equation using moon as a reference.
PlanetaryJovianMass() for \(M\) equation using Jupiter as a reference.
StellarMass() for \(M\) equation used for star like objects.

◆ PlanetaryLunarMass()

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}\]

See https://en.wikipedia.org/wiki/Planetary_mass.

Parameters
planetMass\(m_{planet}\ (kg)\) is the mass of the planet.
Returns
\(M\)(dimensionless) Planetary mass. Mass ratio of a planet compared to the Moon.
See also
PlanetaryMass() for \(M\) equation using any planet as a reference.
PlanetaryEarthMass() for \(M\) equation using earth as a reference.
PlanetaryJupiterMass() for \(M\) equation using Jupiter as a reference.
PlanetaryJovianMass() for \(M\) equation using Jupiter as a reference.
StellarMass() for \(M\) equation used for star like objects.

◆ PlanetaryMass()

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}}\]

See https://en.wikipedia.org/wiki/Planetary_mass.

Parameters
planetMass\(m_{planet}\ (kg)\) is the mass of the planet.
referenceMass\(m_{ref}\ (kg)\) is the mass of the reference planet.
Returns
\(M\)(dimensionless) Planetary mass. Mass ratio of a planet compared to a reference planet.
See also
PlanetaryEarthMass() for \(M\) equation using earth as a reference.
PlanetaryLunarMass() for \(M\) equation using moon as a reference.
PlanetaryJupiterMass() for \(M\) equation using Jupiter as a reference.
PlanetaryJovianMass() for \(M\) equation using Jupiter as a reference.
StellarMass() for \(M\) equation used for star like objects.