Expand description
Fixed-step integration. The core never looks at the wall clock.
Classical Runge-Kutta 4 with sub-steps. The plan’s default was a semi-implicit scheme; the convergence and energy checks of the standard suite decide, and RK4 with 4 sub-steps passes them without the core having to know which states are positions and which are velocities.
Structs§
Constants§
- MOST_
CUTS - The most parts a base step’s sub-steps are cut into for the machine (
Machine::substeps_wanted): a bound on what a step can cost.
Functions§
- advance
- Advances a machine by one base step
dtwith the torques held constant, as a drive would. - advance_
refined advancewith each sub-step cut as the machine asks from the step’s start (Machine::substeps_wanted, at mostMOST_CUTS); the cuts it took.