|
Celeritas 0.7.0-dev.164+develop.929c81eeb
|
Manage persistent track initializer data. More...
#include <TrackInitParams.hh>

Classes | |
| struct | Input |
| Track initializer construction arguments. More... | |
Public Member Functions | |
| TrackInitParams (Input const &) | |
| Construct with capacity and number of events. | |
| size_type | capacity () const |
| Maximum number of initializers. | |
| size_type | max_events () const |
| Event number cannot exceed this value. | |
| TrackOrder | track_order () const |
| Track sorting strategy. | |
| HostRef const & | host_ref () const final |
| Access primaries for constructing track initializer states. | |
| DeviceRef const & | device_ref () const final |
| Access data on device. | |
| template<MemSpace M> | |
| void | reset_track_ids (StreamId stream, TrackInitStateData< Ownership::reference, M > *state) const |
| Reset track counters in single-event mode. | |
Public Member Functions inherited from celeritas::ParamsDataInterface< TrackInitParamsData > | |
| TrackInitParamsData< Ownership::const_reference, M > const & | ref () const |
| TrackInitParamsData< Ownership::const_reference, M > const & | ref () const |
| Dispatch a "ref" call to host or device data. | |
Additional Inherited Members | |
Public Types inherited from celeritas::ParamsDataInterface< TrackInitParamsData > | |
| using | HostRef = HostCRef< TrackInitParamsData > |
| using | DeviceRef = DeviceCRef< TrackInitParamsData > |
Protected Member Functions inherited from celeritas::ParamsDataInterface< TrackInitParamsData > | |
| CELER_DEFAULT_COPY_MOVE (ParamsDataInterface) | |
Manage persistent track initializer data.
max_events could potentially be per thread, not global? And we should differentiate between user events and events in flight.
|
inlinefinalvirtual |
Access data on device.
Implements celeritas::ParamsDataInterface< TrackInitParamsData >.
|
inlinefinalvirtual |
Access primaries for constructing track initializer states.
Implements celeritas::ParamsDataInterface< TrackInitParamsData >.