Celeritas  0.5.0-86+4a8eea4
Public Types | Public Member Functions | Public Attributes | List of all members
celeritas::test::AuxMockStateData< W, M > Struct Template Reference

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

Public Attributes

StreamId stream
 
StateItems< int > local_state
 
Items< size_typecounts
 

Detailed Description

template<Ownership W, MemSpace M>
struct celeritas::test::AuxMockStateData< 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: