Celeritas 0.6.0-2+develop.96611fab
Loading...
Searching...
No Matches
Classes | Functions
CoreTrackData.hh File Reference
#include "corecel/Assert.hh"
#include "corecel/data/Collection.hh"
#include "corecel/random/data/RngData.hh"
#include "celeritas/Types.hh"
#include "celeritas/geo/GeoData.hh"
#include "CoreTrackDataFwd.hh"
#include "MaterialData.hh"
#include "ParticleData.hh"
#include "PhysicsData.hh"
#include "SimData.hh"
#include "TrackInitData.hh"
#include "Types.hh"
This graph shows which files directly or indirectly include this file:

Classes

struct  celeritas::optical::CoreScalars
 Memspace-independent core variables. More...
 
struct  celeritas::optical::CoreParamsData< W, M >
 Immutable problem data. More...
 
struct  celeritas::optical::CoreStateData< W, M >
 Thread-local state data. More...
 

Functions

template<MemSpace M>
void celeritas::optical::resize (CoreStateData< Ownership::value, M > *state, HostCRef< CoreParamsData > const &params, StreamId stream_id, size_type size)
 Resize states in host code.
 

Function Documentation

◆ resize()

template<MemSpace M>
void celeritas::optical::resize ( CoreStateData< Ownership::value, M > *  state,
HostCRef< CoreParamsData > const params,
StreamId  stream_id,
size_type  size 
)

Resize states in host code.

Initialize threads to track slots mapping. Resize core states using parameter data, stream ID, and track slots.