Celeritas 0.6.0-dev.115+3b60a5fd
Loading...
Searching...
No Matches
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, Mgeometry
 
MaterialStateData< W, Mmaterials
 
ParticleStateData< W, Mparticles
 
PhysicsStateData< W, Mphysics
 
RngStateData< W, Mrng
 
SimStateData< W, Msim
 
TrackInitStateData< W, Minit
 
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: