Revision 105f41bdaPublished by elfsong
Revision 9a4cd34bPublished by elfsong
Revision 8503f39dPublished by elfsong
Revision 787a6d9bPublished by elfsong
Revision 6a226e7cPublished by elfsong
Revision 52186651Published by elfsong
Revision 4d612d40Published by elfsong
Revision 30a08c01Published by elfsong
Revision 23bf5862Published by elfsong
Revision 1f91dbc3Published by elfsong
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