Swarm-NG  1.1
kepler.cpp File Reference

Implements functions for converting between Cartesian & Keplerian coordinates. More...

#include "kepler.hpp"
#include <math.h>
#include <assert.h>

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

Implements functions for converting between Cartesian & Keplerian coordinates.

Definition in file kepler.cpp.