Module propagation
Source - AdaptiveConfig
- Configuration for the RK45 adaptive integrator.
- AdaptiveResult
- Result of an adaptive propagation.
- IntegratorConfig
- Configuration for the RK4 integrator.
- PropState
- State of a spacecraft/body in 3D Cartesian coordinates.
- SymplecticResult
- Result of a symplectic StΓΆrmer-Verlet propagation.
- ThrustProfile
- Thrust profile for continuous-thrust propagation.
- DP_A21 π
- a matrix (lower triangular, row by row)
- DP_A31 π
- DP_A32 π
- DP_A41 π
- DP_A42 π
- DP_A43 π
- DP_A51 π
- DP_A52 π
- DP_A53 π
- DP_A54 π
- DP_A61 π
- DP_A62 π
- DP_A63 π
- DP_A64 π
- DP_A65 π
- DP_B π
- 5th-order weights (solution)
- DP_C π
- Dormand-Prince 5(4) Butcher tableau coefficients (FSAL).
c nodes (time fractions within step)
- DP_E π
- Error coefficients: e_i = b_i - b*_i (difference between 5th and 4th order)
- FAC_MAX π
- FAC_MIN π
- PI_EXPONENT_I π
- PI_EXPONENT_P π
- SAFETY π
- PI controller constants for step size selection (Codex-recommended).
- circular_orbit_state
- Create initial state for a circular orbit in the XY plane.
- derivatives π
- Derivative of state: (velocity, acceleration).
Returns (dr/dt, dv/dt) as raw f64 arrays [x,y,z] each.
- dopri45_step π
- Perform one RK45 Dormand-Prince step. Returns (new_pos, new_vel, err_pos, err_vel).
Uses 7 stages (FSAL: k7 of this step = k1 of next step).
- elliptical_orbit_state_at_periapsis
- Create initial state for an elliptical orbit in the XY plane at periapsis.
- energy_drift
- Compute maximum relative energy drift during a propagation.
- estimate_initial_step π
- Estimate initial step size using the approach from Hairer-NΓΈrsett-Wanner.
- gravity_accel π
- Compute gravitational acceleration at a position (km/sΒ²).
- propagate
- Propagate an orbit from initial state for a given duration.
- propagate_adaptive
- Propagate using RK45 Dormand-Prince adaptive step integrator.
- propagate_adaptive_final
- Propagate adaptively and return only the final state (memory-efficient).
- propagate_final
- Propagate and return only the final state (memory-efficient for long propagations).
- propagate_symplectic
- Propagate a ballistic (thrust-free) orbit using the StΓΆrmer-Verlet symplectic integrator.
- propagate_symplectic_final
- Propagate a ballistic orbit using StΓΆrmer-Verlet and return only the final state.
Memory-efficient variant.
- rk4_step π
- Perform one RK4 step.
- scaled_error_norm π
- Compute scaled RMS error norm for step acceptance.
State is [x, y, z, vx, vy, vz] (6 components).