|
Celeritas 0.7.0-dev.193+develop.f73b3b995
|
State data for accumulating results for each particle type. More...
#include <AuxMockData.hh>
Public Types | |
| template<class T > | |
| using | Items = Collection< T, W, M > |
| template<class T > | |
| using | StateItems = StateCollection< T, W, M > |
Public Member Functions | |
| CELER_FUNCTION size_type | size () const |
| Number of states. | |
| CELER_FUNCTION | operator bool () const |
| Whether the data is assigned. | |
| template<Ownership W2, MemSpace M2> | |
| AuxMockStateData & | operator= (AuxMockStateData< W2, M2 > &other) |
| Assign from another set of states. | |
Public Attributes | |
| StreamId | stream |
| StateItems< int > | local_state |
| Items< size_type > | counts |
State data for accumulating results for each particle type.
counts is indexed as particle_id * num_bins + bin_index.