Class LambertSolver
java.lang.Object
org.episteme.natural.physics.astronomy.mechanics.LambertSolver
Solver for Lambert's problem: finding the orbit between two points in space for a given duration.
Boundary value problem for the differential equation of the Two-Body Problem.
-
Method Summary
-
Method Details
-
solve
Solves Lambert's problem using a robust iterative method.- Parameters:
r1- Position vector at t1 (km)r2- Position vector at t2 (km)dt- Time of flight (seconds)mu- Standard gravitational parameter (km^3/s^2)retrograde- Whether the orbit is retrograde- Returns:
- Initial velocity vector (km/s)
-