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

Data for sampling optical photons from user-configurable distributions. More...

#include <GeneratorData.hh>

Public Member Functions

CELER_FUNCTION operator bool () const
 Check whether the data are assigned.
 

Public Attributes

size_type num_photons {}
 
units::MevEnergy energy
 
Real3 position {}
 

Detailed Description

Data for sampling optical photons from user-configurable distributions.

Todo:
For now this is hardcoded to generate a point source of monoenergetic, isotropic photons. Make this configurable.

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