Celeritas 0.6.0-93+develop.7a7d9941
|
Get the number of photons from a distribution. More...
#include <GeneratorData.hh>
Public Member Functions | |
CELER_FUNCTION size_type | operator() (GeneratorDistributionData const &data) const |
Get the number of photons from a distribution.
This is a functor rather than a function because it's used for the thrust reduction and scan.