Celeritas
0.5.0-86+4a8eea4
|
Store dynamic states of multiple physical particles. More...
#include <MaterialData.hh>
Public Types | |
template<class T > | |
using | Items = StateCollection< T, W, M > |
Public Member Functions | |
CELER_FUNCTION | operator bool () const |
Whether the interface is assigned. | |
CELER_FUNCTION size_type | size () const |
State size. | |
template<Ownership W2, MemSpace M2> | |
MaterialStateData & | operator= (MaterialStateData< W2, M2 > &other) |
Assign from another set of data. | |
Public Attributes | |
Items< MaterialTrackState > | state |
Items< real_type > | element_scratch |
Store dynamic states of multiple physical particles.
The "element scratch space" is a 2D array of reals, indexed with [trackslot_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.