Celeritas 0.6.0-93+develop.7a7d9941
Loading...
Searching...
No Matches
Public Member Functions | List of all members
celeritas::optical::GetNumPhotons Struct Reference

Get the number of photons from a distribution. More...

#include <GeneratorData.hh>

Public Member Functions

CELER_FUNCTION size_type operator() (GeneratorDistributionData const &data) const
 

Detailed Description

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.


The documentation for this struct was generated from the following file: