astro_helpers.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include <array> //std::array
4 #include <utility> // std::pair
5 
6 namespace pass
7 {
8 
9 typedef struct lambert_solution
10 {
11  std::array<double, 3> departure_velocity;
12  std::array<double, 3> arrival_velocity;
14 
22 lambert_solution lambert(std::array<double, 3> r1_in,
23  std::array<double, 3> r2_in, double t, const double mu,
24  const int lw);
25 
32 std::pair<double, double> pow_swing_by_inv(const double Vin, const double Vout,
33  const double alpha);
34 
41 std::pair<std::array<double, 3>, std::array<double, 3>> conversion(
42  const std::array<double, 6> &E, const double mu);
43 
48 double mean_to_eccentric(const double m, const double e);
49 } // namespace pass
lambert_solution lambert(std::array< double, 3 > r1_in, std::array< double, 3 > r2_in, double t, const double mu, const int lw)
Definition: astro_helpers.cpp:7
std::pair< double, double > pow_swing_by_inv(const double Vin, const double Vout, const double alpha)
Definition: astro_helpers.cpp:143
std::pair< std::array< double, 3 >, std::array< double, 3 > > conversion(const std::array< double, 6 > &E, const double mu)
Definition: astro_helpers.cpp:179
Definition: astro_helpers.hpp:9
std::array< double, 3 > arrival_velocity
Definition: astro_helpers.hpp:12
struct pass::lambert_solution lambert_solution
double mean_to_eccentric(const double m, const double e)
Definition: astro_helpers.cpp:237
std::array< double, 3 > departure_velocity
Definition: astro_helpers.hpp:11
Definition: adaptive_parameter_search.hpp:5