Celeritas  0.5.0-56+6b053cd
Classes | Functions
global/CoreTrackData.hh File Reference
#include "corecel/Assert.hh"
#include "corecel/data/Collection.hh"
#include "corecel/data/ObserverPtr.hh"
#include "celeritas/Types.hh"
#include "celeritas/em/data/WentzelOKVIData.hh"
#include "celeritas/geo/GeoData.hh"
#include "celeritas/geo/GeoMaterialData.hh"
#include "celeritas/mat/MaterialData.hh"
#include "celeritas/phys/CutoffData.hh"
#include "celeritas/phys/ParticleData.hh"
#include "celeritas/phys/PhysicsData.hh"
#include "celeritas/random/RngData.hh"
#include "celeritas/track/SimData.hh"
#include "celeritas/track/TrackInitData.hh"
#include "CoreTrackDataFwd.hh"
This graph shows which files directly or indirectly include this file:

Classes

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

Functions

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

Function Documentation

◆ resize()

template<MemSpace M>
void celeritas::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.