Celeritas  0.5.0-86+4a8eea4
Public Types | Public Member Functions | Public Attributes | List of all members
celeritas::PhysicsStateData< W, M > Struct Template Reference

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>
PhysicsStateDataoperator= (PhysicsStateData< W2, M2 > &other)
 Assign from another set of states.
 

Public Attributes

StateItems< PhysicsTrackStatestate
 Track state [track].
 
StateItems< MscStepmsc_step
 Internal MSC data [track].
 
Items< real_typeper_process_xs
 XS [track][particle process].
 
AtomicRelaxStateData< W, M > relaxation
 Scratch data.
 
StackAllocatorData< Secondary, W, M > secondaries
 Secondary stack.
 

Detailed Description

template<Ownership W, MemSpace M>
struct celeritas::PhysicsStateData< W, M >

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.


The documentation for this struct was generated from the following file: