Celeritas
0.5.0-56+6b053cd
|
#include "corecel/Types.hh"
#include "corecel/cont/Range.hh"
#include "corecel/data/Collection.hh"
#include "corecel/data/CollectionAlgorithms.hh"
#include "corecel/data/CollectionBuilder.hh"
#include "corecel/sys/Device.hh"
#include "corecel/sys/ThreadId.hh"
#include "geocel/Types.hh"
#include "celeritas/Types.hh"
#include "celeritas/phys/ParticleData.hh"
#include "celeritas/phys/Primary.hh"
#include "SimData.hh"
Classes | |
struct | celeritas::TrackInitParamsData< W, M > |
Persistent data for track initialization. More... | |
struct | celeritas::TrackInitializer |
Lightweight version of a track used to initialize new tracks from primaries or secondaries. More... | |
struct | celeritas::TrackInitStateData< W, M > |
Storage for dynamic data used to initialize new tracks. More... | |
Functions | |
template<MemSpace M> | |
void | celeritas::resize (TrackInitStateData< Ownership::value, M > *data, HostCRef< TrackInitParamsData > const ¶ms, StreamId stream, size_type size) |
Resize and initialize track initializer data. More... | |
void celeritas::resize | ( | TrackInitStateData< Ownership::value, M > * | data, |
HostCRef< TrackInitParamsData > const & | params, | ||
StreamId | stream, | ||
size_type | size | ||
) |
Resize and initialize track initializer data.
Here size
is the number of track states, and the "capacity" is the maximum number of track initializers (inactive/pending tracks) that we can hold.