Java, Simulation, Programming, Science, Coding.
Update the velocity of the colliding particle if it meets the validation criteria. Predict future particles wall and particle-particle collision and insert them onto the priority queue. If we follow the above mentioned condition then we will have a Molecular Dynamics Simulation of Hard Spheres.