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

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

Public Attributes

Items< TrackIdtrack_ids
 Unique ID for this track.
 
Items< TrackIdparent_ids
 ID of parent that created it.
 
Items< EventIdevent_ids
 ID of originating event.
 
Items< size_typenum_steps
 Total number of steps taken.
 
Items< size_typenum_looping_steps
 Number of steps taken since the track was flagged as looping.
 
Items< real_typetime
 Time elapsed in lab frame since start of event.
 
Items< TrackStatusstatus
 
Items< real_typestep_length
 
Items< ActionIdpost_step_action
 
Items< ActionIdalong_step_action
 

Detailed Description

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

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.


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