Executable: test_hyperbolic_motion - Source: tests/test_hyperbolic_motion.cpp - Results: hyperbolic_motion.md
Validates the relativistic rocket of DESCRIPTION.md against the closed-form solution of constant proper acceleration in flat spacetime.
Proper accelerations of 0.1, 1, 9.81, 50 and 100 and coordinate times of 0.1, 1, 5 and 20, in coordinate-time flow with a step of 5e-4, starting at rest.
| Check | Criterion |
|---|---|
| Proper time | Worst relative error over the 20 cases below 1e-7 |
| Velocity | Worst relative error below 1e-7 |
| Position | Worst relative error below 1e-6 |
| Lorentz factor | Worst relative error below 1e-7 |
The four worst relative errors.
All checks pass. See also the closely related rocket checks in the legacy test_rocket_dynamics listed in ../test_catalog.md.