|
Celeritas 0.7.0-dev.189+develop.42ba4463e
|
Gathered data and persistent scratch space for gathering and copying data. More...
#include <StepData.hh>
Public Types | |
| using | StepDataImpl = StepStateDataImpl< W, M > |
| template<class T > | |
| using | StateItems = celeritas::StateCollection< T, W, M > |
Public Member Functions | |
| CELER_FUNCTION | operator bool () const |
| True if constructed and correctly sized. | |
| CELER_FUNCTION TrackSlotId::size_type | size () const |
| State size. | |
| template<Ownership W2, MemSpace M2> | |
| StepStateData & | operator= (StepStateData< W2, M2 > &other) |
| Assign from another set of states. | |
Public Attributes | |
| StepDataImpl | data |
| Gathered data for a single step. | |
| StepDataImpl | scratch |
| Scratch space for gathering the data on device based on track validity. | |
| StateItems< size_type > | valid_id |
| Thread IDs of active tracks that are in a detector. | |
| size_type | num_volume_levels {0} |
| StreamId | stream_id |
| Unique identifier for "thread-local" data. | |
Gathered data and persistent scratch space for gathering and copying data.
Extra storage scratch and valid_id is needed to efficiently gather and copy the step data on the device but will not be allocated on the host.