|
Vulcan
Aerospace Engineering Utilities Built on Janus
|
Functions | |
| template<typename Scalar> | |
| Scalar | mean_to_eccentric (const Scalar &M, const Scalar &e, double tol=1e-12, int max_iter=50) |
| Solve Kepler's equation: M = E - e*sin(E). | |
| template<typename Scalar> | |
| Scalar | eccentric_to_true (const Scalar &E, const Scalar &e) |
| Convert eccentric anomaly to true anomaly. | |
| template<typename Scalar> | |
| Scalar | true_to_eccentric (const Scalar &nu, const Scalar &e) |
| Convert true anomaly to eccentric anomaly. | |
| template<typename Scalar> | |
| Scalar | eccentric_to_mean (const Scalar &E, const Scalar &e) |
| Convert eccentric anomaly to mean anomaly. | |
| template<typename Scalar> | |
| Scalar | true_to_mean (const Scalar &nu, const Scalar &e) |
| Convert true anomaly to mean anomaly. | |
| template<typename Scalar> | |
| Scalar | mean_to_true (const Scalar &M, const Scalar &e) |
| Convert mean anomaly to true anomaly. | |
| Scalar vulcan::orbital::anomaly::eccentric_to_mean | ( | const Scalar & | E, |
| const Scalar & | e ) |
Convert eccentric anomaly to mean anomaly.
Direct application of Kepler's equation: M = E - e*sin(E)
| Scalar | double or casadi::MX |
| E | Eccentric anomaly [rad] |
| e | Eccentricity [-] |
| Scalar vulcan::orbital::anomaly::eccentric_to_true | ( | const Scalar & | E, |
| const Scalar & | e ) |
Convert eccentric anomaly to true anomaly.
| Scalar | double or casadi::MX |
| E | Eccentric anomaly [rad] |
| e | Eccentricity [-] |
| Scalar vulcan::orbital::anomaly::mean_to_eccentric | ( | const Scalar & | M, |
| const Scalar & | e, | ||
| double | tol = 1e-12, | ||
| int | max_iter = 50 ) |
Solve Kepler's equation: M = E - e*sin(E).
Uses Newton-Raphson iteration. For symbolic types, uses fixed iterations to enable automatic differentiation.
| Scalar | double or casadi::MX |
| M | Mean anomaly [rad] |
| e | Eccentricity [-] |
| tol | Convergence tolerance (numeric only) |
| max_iter | Maximum iterations (numeric only) |
| Scalar vulcan::orbital::anomaly::mean_to_true | ( | const Scalar & | M, |
| const Scalar & | e ) |
Convert mean anomaly to true anomaly.
| Scalar | double or casadi::MX |
| M | Mean anomaly [rad] |
| e | Eccentricity [-] |
| Scalar vulcan::orbital::anomaly::true_to_eccentric | ( | const Scalar & | nu, |
| const Scalar & | e ) |
Convert true anomaly to eccentric anomaly.
| Scalar | double or casadi::MX |
| nu | True anomaly [rad] |
| e | Eccentricity [-] |
| Scalar vulcan::orbital::anomaly::true_to_mean | ( | const Scalar & | nu, |
| const Scalar & | e ) |
Convert true anomaly to mean anomaly.
| Scalar | double or casadi::MX |
| nu | True anomaly [rad] |
| e | Eccentricity [-] |