Celeritas  0.5.0-56+6b053cd
Public Types | Public Member Functions | Public Attributes | List of all members
celeritas::ParticleTallyStateData< W, M > Struct Template Reference

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>
ParticleTallyStateDataoperator= (ParticleTallyStateData< W2, M2 > &other)
 Assign from another set of states.
 

Public Attributes

Items< size_typecounts
 

Detailed Description

template<Ownership W, MemSpace M>
struct celeritas::ParticleTallyStateData< W, M >

State data for accumulating results for each particle type.

counts is indexed as particle_id * num_bins + bin_index.


The documentation for this struct was generated from the following file: