Swarm-NG  1.1
kepler.h File Reference

converts between Cartesian & Keplerian coordinates More...

Go to the source code of this file.

Functions

double mean_to_eccentric_annomaly (const double e, double M)
 calculate mean anomaly to eccentric anomaly
 
void calc_cartesian_for_ellipse (double &x, double &y, double &z, double &vx, double &vy, double &vz, const double a, const double e, const double i, const double O, const double w, const double M, const double GM)
 Calculate the caresian coordinates for the ellipse.
 

Detailed Description

converts between Cartesian & Keplerian coordinates

Based on code from John Chambers' Mercury code

Todo:
put proper refernece to publication or URL.

Definition in file kepler.h.