Celeritas
0.5.0-86+4a8eea4
|
Dynamic physics (models, processes) state data. More...
#include <PhysicsData.hh>
Public Types | |
template<class T > | |
using | StateItems = celeritas::StateCollection< T, W, M > |
template<class T > | |
using | Items = celeritas::Collection< T, W, M > |
Public Member Functions | |
CELER_FUNCTION | operator bool () const |
True if assigned. | |
CELER_FUNCTION size_type | size () const |
State size. | |
template<Ownership W2, MemSpace M2> | |
PhysicsStateData & | operator= (PhysicsStateData< W2, M2 > &other) |
Assign from another set of states. | |
Public Attributes | |
StateItems< PhysicsTrackState > | state |
Track state [track]. | |
StateItems< MscStep > | msc_step |
Internal MSC data [track]. | |
Items< real_type > | per_process_xs |
XS [track][particle process]. | |
AtomicRelaxStateData< W, M > | relaxation |
Scratch data. | |
StackAllocatorData< Secondary, W, M > | secondaries |
Secondary stack. | |
Dynamic physics (models, processes) state data.
The "xs scratch space" is a 2D array of reals, indexed with [track_id][el_component_id], where the fast-moving dimension has the greatest number of element components of any material in the problem. This can be used for the physics to calculate microscopic cross sections.