|
Celeritas 0.7.0-dev.161+develop.301cbc939
|
Data storage/access for simulation states. More...
#include <SimData.hh>
Public Types | |
| template<class T > | |
| using | Items = celeritas::StateCollection< T, W, M > |
Public Member Functions | |
| CELER_FUNCTION | operator bool () const |
| Check whether the interface is assigned. | |
| CELER_FUNCTION TrackSlotId::size_type | size () const |
| State size. | |
| template<Ownership W2, MemSpace M2> | |
| SimStateData & | operator= (SimStateData< W2, M2 > &other) |
| Assign from another set of data. | |
Public Attributes | |
| Items< TrackId > | track_ids |
| Unique ID for this track. | |
| Items< PrimaryId > | primary_ids |
| ID of originating primary. | |
| Items< TrackId > | parent_ids |
| ID of parent that created it. | |
| Items< EventId > | event_ids |
| ID of originating event. | |
| Items< size_type > | num_steps |
| Total number of steps taken. | |
| Items< size_type > | num_looping_steps |
| Number of steps taken since the track was flagged as looping. | |
| Items< real_type > | time |
| Time elapsed in lab frame since start of event. | |
| Items< TrackStatus > | status |
| Items< real_type > | step_length |
| Items< ActionId > | post_step_action |
| Items< ActionId > | along_step_action |
| Items< real_type > | weight |
Data storage/access for simulation states.
Unless otherwise specified, units are in the native system (time = s for CGS, step length = cm).
num_looping_steps will be empty if params doesn't specify any looping threshold.