Celeritas 0.6.0-47+develop.b3cbb238
|
Optical photon distribution data. More...
#include <GeneratorData.hh>
Public Types | |
template<class T > | |
using | Items = Collection< T, W, M > |
Public Member Functions | |
CELER_FUNCTION | operator bool () const |
Whether all data are assigned and valid. | |
template<Ownership W2, MemSpace M2> | |
GeneratorStateData & | operator= (GeneratorStateData< W2, M2 > &other) |
Assign from another set of data. | |
Public Attributes | |
Items< GeneratorDistributionData > | distributions |
Items< size_type > | offsets |
Optical photon distribution data.
The distributions are stored in a buffer indexed by the current buffer size plus the track slot ID. The data is compacted at the end of each step by removing all invalid distributions. The order of the distributions in the buffers is guaranteed to be reproducible.