Celeritas 0.7.0-dev.555+develop.5c5a8f0a7
Loading...
Searching...
No Matches
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

 operator bool () const
 True if assigned.
 
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.
 

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: