Celeritas 0.7.0-dev.79+develop.b3dc2e108
|
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.