Celeritas
0.5.0-86+4a8eea4
|
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.