#include <constants.hpp>

Collaboration diagram for pass::celestial_body:

Public Member Functions

std::pair< std::array< double, 3 >, std::array< double, 3 > > ephemeris (const double mjd2000) const
 

Public Attributes

double mu
 
double penalty
 
double penalty_coefficient
 

Static Public Attributes

static const celestial_body SUN
 
static const celestial_body MERCURY
 
static const celestial_body VENUS
 
static const celestial_body EARTH
 
static const celestial_body MARS
 
static const celestial_body JUPITER
 
static const celestial_body SATURN
 
static const celestial_body URANUS
 
static const celestial_body NEPTUNE
 

Private Member Functions

 celestial_body (double mu, double penalty, double penalty_coefficient) noexcept
 

Constructor & Destructor Documentation

◆ celestial_body()

pass::celestial_body::celestial_body ( double  mu,
double  penalty,
double  penalty_coefficient 
)
privatenoexcept

Member Function Documentation

◆ ephemeris()

std::pair< std::array< double, 3 >, std::array< double, 3 > > pass::celestial_body::ephemeris ( const double  mjd2000) const

Returns a tuple (position, velocity).

Here is the call graph for this function:

Member Data Documentation

◆ EARTH

const celestial_body pass::celestial_body::EARTH
static

◆ JUPITER

const celestial_body pass::celestial_body::JUPITER
static

◆ MARS

const celestial_body pass::celestial_body::MARS
static

◆ MERCURY

const celestial_body pass::celestial_body::MERCURY
static

◆ mu

double pass::celestial_body::mu

◆ NEPTUNE

const celestial_body pass::celestial_body::NEPTUNE
static

◆ penalty

double pass::celestial_body::penalty

◆ penalty_coefficient

double pass::celestial_body::penalty_coefficient

◆ SATURN

const celestial_body pass::celestial_body::SATURN
static

◆ SUN

const celestial_body pass::celestial_body::SUN
static

◆ URANUS

const celestial_body pass::celestial_body::URANUS
static

◆ VENUS

const celestial_body pass::celestial_body::VENUS
static

The documentation for this struct was generated from the following files:
  • /Users/romeo/Desktop/PASS/include/pass_bits/helper/astro_problems/constants.hpp
  • /Users/romeo/Desktop/PASS/src/helper/astro_problems/constants.cpp