|
Celeritas 0.7.0-dev.194+develop.0df4cab59
|
State data for accumulating results for each particle type. More...
#include <ParticleTallyData.hh>
Public Types | |
| template<class T > | |
| using | Items = Collection< 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> | |
| ParticleTallyStateData & | operator= (ParticleTallyStateData< W2, M2 > &other) |
| Assign from another set of states. | |
Public Attributes | |
| Items< size_type > | counts |
State data for accumulating results for each particle type.
counts is indexed as particle_id * num_bins + bin_index.