Astro  0.0.0
A C++ library for space dynamics
Loading...
Searching...
No Matches
Planets.hh File Reference
#include "Astro/Body.hh"
#include "Astro/Utilities.hh"
Include dependency graph for Planets.hh:

Go to the source code of this file.

Classes

struct  Astro::Planets::KeplerianEarth
 Structure container for the Earth J2000 Keplerian orbital elements for orbit about the Sun. More...
struct  Astro::Planets::KeplerianMoon
 Structure container for the Moon Keplerian orbital elements for orbit about the Earth. More...

Namespaces

namespace  Astro
 The namespace for the Astro library.
namespace  Astro::Planets

Functions

Body Astro::Planets::Earth ()
 Create a Earth object with J2000 Keplerian orbital elements.
Vector3 Astro::Planets::EarthMagneticFieldDipole (Vector3 const &position)
 Compute the Eath magnetic field at a given positionusing the IGRF model.
Body Astro::Planets::Moon ()
 Create a Moon object with Keplerian orbital elements.

Variables

static const Real Astro::Planets::KM3_S2_TO_AU3_DAY2 {(KM_TO_AU*KM_TO_AU*KM_TO_AU)/(SEC_TO_DAY*SEC_TO_DAY)}
static const Real Astro::Planets::AU3_DAY2_TO_KM3_S2 {1.0/KM3_S2_TO_AU3_DAY2}
static Real const Astro::Planets::Sun_mass_KG {1.9885E30}
static Real const Astro::Planets::Sun_radius_KM {695700.0}
static Real const Astro::Planets::Sun_radius_AU {KM_To_AU(Sun_radius_KM)}
static Real const Astro::Planets::Sun_mu_KM3_S2 {1.32712440018E11}
static Real const Astro::Planets::Sun_mu_AU3_DAY2 {KM3_S2_To_AU3_DAY2(Sun_mu_KM3_S2)}
static Real const Astro::Planets::Earth_mass_KG {5.97219E24}
static Real const Astro::Planets::Earth_radius_KM {6378.1370}
static Real const Astro::Planets::Earth_radius_AU {KM_To_AU(Earth_radius_KM)}
static Real const Astro::Planets::Earth_mu_KM3_S2 {398600.4418}
static Real const Astro::Planets::Earth_mu_KM3_DAY2 {KM3_S2_To_KM3_DAY2(Earth_mu_KM3_S2)}
static Real const Astro::Planets::Earth_mu_AU3_DAY2 {KM3_S2_To_AU3_DAY2(Earth_mu_KM3_S2)}
static constexpr Real Astro::Planets::EARTH_MAG_MOMENT {7.96e15}
static Real const Astro::Planets::Moon_mass_KG {7.34767309E22}
static Real const Astro::Planets::Moon_radius_KM {1737.400}
static Real const Astro::Planets::Moon_radius_AU {Moon_radius_KM*KM_TO_AU}
static Real const Astro::Planets::Moon_mu_M3S2 {4.9048695E12}
static Real const Astro::Planets::Moon_mu_KM3_S2 {Moon_mu_M3S2/1.0E9}
static Real const Astro::Planets::Moon_mu_AU3_DAY2 {Moon_mu_KM3_S2*KM3_S2_TO_AU3_DAY2}