Celeritas  0.5.0-57+aeecb15
Classes | Public Member Functions | List of all members
celeritas::TrackInitParams Class Referencefinal

Manage persistent track initializer data. More...

#include <TrackInitParams.hh>

Inheritance diagram for celeritas::TrackInitParams:
Inheritance graph
[legend]

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 contructing 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
 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)
 

Detailed Description

Manage persistent track initializer data.


The documentation for this class was generated from the following files: