Celeritas  0.5.0-56+6b053cd
Public Types | Public Member Functions | Public Attributes | List of all members
celeritas::optical::CoreStateData< W, M > Struct Template Reference

Thread-local state data. More...

#include <CoreTrackData.hh>

Public Types

template<class T >
using Items = StateCollection< T, W, M >
 

Public Member Functions

CELER_FUNCTION size_type size () const
 Number of state elements.
 
CELER_FUNCTION operator bool () const
 Whether the data are assigned.
 
template<Ownership W2, MemSpace M2>
CoreStateDataoperator= (CoreStateData< W2, M2 > &other)
 Assign from another set of data.
 

Public Attributes

GeoStateData< W, M > geometry
 
ParticleStateData< W, M > particle
 
PhysicsStateData< W, M > physics
 
RngStateData< W, M > rng
 
SimStateData< W, M > sim
 
TrackInitStateData< W, M > init
 
StreamId stream_id
 Unique identifier for "thread-local" data.
 

Detailed Description

template<Ownership W, MemSpace M>
struct celeritas::optical::CoreStateData< W, M >

Thread-local state data.


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