This task has no README.
This task has no README.
Port an OpenMP Direct Simulation Monte Carlo gas: each step moves particles ballistically, counting-sorts them into a cell grid, and in every cell runs a deterministic number of candidate collision pairs, accepting with probability proportional to capped squared relative speed and reflecting the relative velocity by a random sign pattern (exact integer momentum and energy).
harbor run -t elfsong/cpu2gpu-phys-dsmc-collisionsharbor download elfsong/cpu2gpu-phys-dsmc-collisions