Celeritas
0.5.0-86+4a8eea4
|
Storage for dynamic data used to initialize new optical photon tracks. More...
#include <TrackInitData.hh>
Public Types | |
template<class T > | |
using | StateItems = StateCollection< T, W, M > |
template<class T > | |
using | Items = Collection< T, W, M > |
Public Member Functions | |
CELER_FUNCTION | operator bool () const |
Whether the data are assigned. | |
template<Ownership W2, MemSpace M2> | |
TrackInitStateData & | operator= (TrackInitStateData< W2, M2 > &other) |
Assign from another set of data. | |
Public Attributes | |
Items< TrackInitializer > | initializers |
StateItems< TrackSlotId > | vacancies |
Storage for dynamic data used to initialize new optical photon tracks.
initializers
stores the data for track initializers and secondaries waiting to be turned into new tracks and can be any size up to capacity
.vacancies
stores the TrackSlotid
of the tracks that have been killed; the size will be <= the number of track states.