Represents a simulation function object that uses the Velocity Verlet integration method to simulate the motion of bodies.
Create a new VelocityVerletSim with the provided force calculator, which is invoked on every simulation step.
force calculator.
Force object to calculate forces on bodies in the Universe.
Simulate a step in the Universe by using the previous and/or current state and a time step, using the Velocity Verlet integration method.
time step.
current state.
new state after the simulation step.
Generated using TypeDoc
Represents a simulation function object that uses the Velocity Verlet integration method to simulate the motion of bodies.