Celeritas  0.5.0-86+4a8eea4
Public Types | Public Member Functions | Public Attributes | List of all members
celeritas::TrackInitStateData< W, M > Struct Template Reference

Storage for dynamic data used to initialize new tracks. More...

#include <TrackInitData.hh>

Public Types

template<class T >
using StateItems = StateCollection< T, W, M >
 
template<class T >
using EventItems = Collection< T, W, M, EventId >
 
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>
TrackInitStateDataoperator= (TrackInitStateData< W2, M2 > &other)
 Assign from another set of data.
 

Public Attributes

StateItems< TrackSlotIdparents
 
StateItems< size_typeindices
 
StateItems< size_typesecondary_counts
 
StateItems< TrackSlotIdvacancies
 
EventItems< TrackId::size_type > track_counters
 
Items< TrackInitializerinitializers
 

Detailed Description

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

Storage for dynamic data used to initialize new tracks.

Not all of this is technically "state" data, though it is all mutable and in most cases accessed by TrackSlotId. Specifically, initializers and vacancies are resizable, and track_counters has size max_events.


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