Celeritas 0.6.0-47+develop.b3cbb238
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
celeritas::GeneratorStateData< W, M > Struct Template Reference

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>
GeneratorStateDataoperator= (GeneratorStateData< W2, M2 > &other)
 Assign from another set of data.
 

Public Attributes

Items< GeneratorDistributionDatadistributions
 
Items< size_typeoffsets
 

Detailed Description

template<Ownership W, MemSpace M>
struct celeritas::GeneratorStateData< W, M >

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.


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