celeritas-project / celeritas

Celeritas is a new Monte Carlo transport code designed to accelerate scientific discovery in high energy physics by improving detector simulation throughput and energy efficiency using GPUs.
https://celeritas-project.github.io/celeritas/
Other
65 stars 35 forks source link

Count number of optical primaries to be generated from distributions #1379

Closed amandalund closed 2 months ago

amandalund commented 3 months ago

This small update adds a reduction to the optical offload actions to count the number of primaries that would be generated from the distribution data. This will be used to determine when to generate the primaries and start the optical tracking loop.