Pure C++ Ballistic Solver Engine
// momentum
// why it's here
- Active: last commit today
- Health 93/100 with only 5 stars
// how to help
// readme
bclibc β Ballistic Solver Engine
High-performance ballistic trajectory solver with RK4, Euler, Velocity Verlet, and adaptive Cash-Karp / Dormand-Prince / Tsitouras RK45 integration, Ridderβs method for zero-finding, PCHIP drag curves, Coriolis, and spin drift.
BCLIBC_integrateDormandPrince and BCLIBC_integrateTsitouras provide two
structurally-identical 7-stage FSAL 5(4) pairs with SciPy RK45-style component
scaling and adaptive controller behavior. CashβKarp keeps its own
compatibility controller. All three use the compile-time embedded-RK core.
![Linux] ![Windows] ![macOS] ![WebAssembly]
Part of the Ballistics Lab ecosystem
bclibc is the shared C++/C99 physics core behind the [Ballistics Lab][ballistics-lab] ecosystem β
one engine, bound natively into [py-ballisticcalc][py-ballisticcalc] (Python/Cython),
[js-ballistics][js-ballistics] (TypeScript, on the bare WASM module), [dart-bclibc][dart-bclibc]
(Dart FFI natively, and the bare WASM module on web β see WASM build), and
[micropython-bclibc][micropython-bclibc] (MCUs via the bundled tiny_bclibc C99 subset).
Coverage
bclibc is tested here and by the projects that use it.