Celeritas 0.6.0-2+develop.96611fab
Loading...
Searching...
No Matches
Classes | Functions
TrackInitData.hh File Reference
#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 "celeritas/Types.hh"
#include "TrackInitializer.hh"
This graph shows which files directly or indirectly include this file:

Classes

struct  celeritas::optical::TrackInitParamsData< W, M >
 Persistent data for optical track initialization. More...
 
struct  celeritas::optical::TrackInitStateData< W, M >
 Storage for dynamic data used to initialize new optical photon tracks. More...
 

Functions

template<MemSpace M>
void celeritas::optical::resize (TrackInitStateData< Ownership::value, M > *data, HostCRef< TrackInitParamsData > const &params, StreamId stream, size_type size)
 Resize and initialize data.
 

Function Documentation

◆ resize()

template<MemSpace M>
void celeritas::optical::resize ( TrackInitStateData< Ownership::value, M > *  data,
HostCRef< TrackInitParamsData > const params,
StreamId  stream,
size_type  size 
)

Resize and initialize data.

Here size is the number of track states, and the "capacity" is the maximum number of initializers that can be buffered.