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

Thread-local state data. More...

#include <CoreTrackData.hh>

Public Types

template<class T >
using ThreadItems = Collection< T, W, M, ThreadId >
 

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
 
MaterialStateData< W, M > materials
 
ParticleStateData< W, M > particles
 
PhysicsStateData< W, M > physics
 
RngStateData< W, M > rng
 
SimStateData< W, M > sim
 
TrackInitStateData< W, M > init
 
ThreadItems< TrackSlotId::size_type > track_slots
 Indirection array for sorting (empty if unsorted)
 
StreamId stream_id
 Unique identifier for "thread-local" data.
 

Detailed Description

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

Thread-local state data.

TODO: standardize variable names


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