Class LambertSolver

java.lang.Object
org.episteme.natural.physics.astronomy.mechanics.LambertSolver

public final class LambertSolver extends Object
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 Details

    • solve

      public static Real[] solve(Real[] r1, Real[] r2, Quantity<Time> dt, double mu, boolean retrograde)
      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)