Celeritas  0.5.0-86+4a8eea4
Classes | Macros | Functions
StepData.hh File Reference
#include "corecel/Macros.hh"
#include "corecel/cont/EnumArray.hh"
#include "corecel/cont/Range.hh"
#include "corecel/data/Collection.hh"
#include "corecel/data/CollectionBuilder.hh"
#include "celeritas/Quantities.hh"
#include "celeritas/Types.hh"
#include "celeritas/Units.hh"
This graph shows which files directly or indirectly include this file:

Classes

struct  celeritas::StepPointSelection
 Which track properties to gather at the beginning and end of a step. More...
 
struct  celeritas::StepSelection
 Which track properties to gather at every step. More...
 
struct  celeritas::StepParamsData< W, M >
 Shared attributes about the hits being collected. More...
 
struct  celeritas::StepPointStateData< W, M >
 Gathered state data for beginning/end of step data for tracks in parallel. More...
 
struct  celeritas::StepStateDataImpl< W, M >
 Gathered data for a single step for many tracks in parallel. More...
 
struct  celeritas::StepStateData< W, M >
 Gathered data and persistent scratch space for gathering and copying data. More...
 

Macros

#define SD_RESIZE_IF_SELECTED(ATTR)
 
#define SD_RESIZE_IF_SELECTED(ATTR)
 

Functions

template<MemSpace M>
void celeritas::resize (StepPointStateData< Ownership::value, M > *state, StepPointSelection selection, HostCRef< StepParamsData > const &params, size_type size)
 Resize a state point.
 
template<MemSpace M>
void celeritas::resize (StepStateDataImpl< Ownership::value, M > *state, HostCRef< StepParamsData > const &params, size_type size)
 Resize the step data.
 
template<MemSpace M>
void celeritas::resize (StepStateData< Ownership::value, M > *state, HostCRef< StepParamsData > const &params, StreamId stream_id, size_type size)
 Resize the state.
 

Macro Definition Documentation

◆ SD_RESIZE_IF_SELECTED [1/2]

#define SD_RESIZE_IF_SELECTED (   ATTR)
Value:
do \
{ \
if (selection.ATTR) \
{ \
resize(&state->ATTR, size); \
} \
} while (0)

◆ SD_RESIZE_IF_SELECTED [2/2]

#define SD_RESIZE_IF_SELECTED (   ATTR)
Value:
do \
{ \
if (params.selection.ATTR) \
{ \
resize(&state->ATTR, size); \
} \
} while (0)