|
Orrery
A GPU-accelerated N-body gravitational simulator
|
What one walk did, in the two units InteractionCount reports. More...
#include <orrery/solvers/tree_walk.hpp>
Public Attributes | |
| std::uint64_t | particle_particle {} |
| std::uint64_t | particle_cell {} |
What one walk did, in the two units InteractionCount reports.
Returned by the walk rather than accumulated into a counter it was handed, because the walks of different targets run on different threads and a shared counter incremented per interaction would be both a data race and, once made atomic, the most contended line in the program.