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

Shared simulation data. More...

#include <SimData.hh>

Public Types

template<class T >
using ParticleItems = Collection< T, W, M, ParticleId >
 

Public Member Functions

CELER_FUNCTION operator bool () const
 Whether the data are assigned.
 
template<Ownership W2, MemSpace M2>
SimParamsDataoperator= (SimParamsData< W2, M2 > const &other)
 Assign from another set of data.
 

Public Attributes

ParticleItems< LoopingThresholdlooping
 
size_type max_steps {}
 

Detailed Description

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

Shared simulation data.

These are cutoff parameters based on the number of steps a track has taken. Currently these are global or per particle type (with a single energy cut); we should make them [energy, particle, region] for full extensibility.

Note
These params are used both by the main tracking loop and the SimTrackView in optical physics.

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