16#ifndef __SC_ORBIT_MNVR__
17#define __SC_ORBIT_MNVR__
22#include <MatrixLib/MatrixLib.h>
42 lambert_out lambert_tof(
const ml_matrix& r1,
const ml_matrix& r2,
double dT,
int orbitType = 1,
double mu = 3.98600436e5,
double tol = 1e-10,
int maxIter = 20 );
lambert_out lambert_tof(const ml_matrix &r1, const ml_matrix &r2, double dT, int orbitType=1, double mu=3.98600436e5, double tol=1e-10, int maxIter=20)
Solves the Lambert time of flight problem using Battin's method.
Definition: sc_orbit_mnvr.cc:58
struct lambert_out lambert_out
Structure for storing the data output the Lambert TOF solver.
Physical and mathematical constants.
Structure for storing the data output the Lambert TOF solver.
Definition: sc_orbit_mnvr.h:33
ml_matrix vT
Transfer velocity.
Definition: sc_orbit_mnvr.h:34
double a
Semi-major axis of the trajectory.
Definition: sc_orbit_mnvr.h:35
double p
The parameter for the orbit.
Definition: sc_orbit_mnvr.h:36
double tol
Achieved tolerance.
Definition: sc_orbit_mnvr.h:37