propagateTwoBody

function propagateTwoBody
universal.ts:71
propagateTwoBody(state: StateVector, mu: number, dt: number) → StateVector

Where a state is dt seconds later, under one point mass at the origin.

mu = 0 is the straight line: deep space between systems has no attractor, and a coasting ship there is the simplest rails there are.

An ellipse's elapsed time is reduced modulo its period first. The universal anomaly grows without bound over many revolutions and the f-and-g series lose precision with it, while the reduced time gives the same answer at full precision — a year of warp over a ninety-minute orbit is several thousand revolutions, and the ship has to land on the same meter either way.

stateStateVector
Undocumented
munumber
Undocumented
dtnumber
Undocumented