HardSphereDynamics.evolve!Method
evolve!(fluid::HardSphereFluid, δt, final_time)

Calculate positions and velocities at times up to final_time, spaced by δt.

HardSphereDynamics.evolve!Method
evolve!(fluid::HardSphereFluid, times)

Time evolution, calculating positions and velocities at given times.

HardSphereDynamics.evolve!Method
evolve!(fluid::HardSphereFluid, num_collisions::Integer)

Evolve fluid for num_collisions collisions (sphere–sphere and sphere–wall collisions are counted).

Returns positions and post-collisions velocities, as well as times at which collisions occur and collision type.

HardSphereDynamics.initial_condition!Method

Generate initial condition for balls.

Uses random sequential deposition: place a disc at a time and check that it doesn't overlap with any previously placed disc.