Celeritas 0.6.0-rc.2.13+develop.285b9112
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
celeritas::OpticalOffloadCounters< T > Struct Template Reference

Current sizes of the buffers of distribution data. More...

#include <OffloadData.hh>

Public Types

using size_type = T
 

Public Member Functions

CELER_FUNCTION bool empty () const
 True if any queued generators/tracks exist.
 

Public Attributes

size_type photons {0}
 Number of generated tracks.
 
size_type cherenkov {0}
 
size_type scintillation {0}
 

Detailed Description

template<class T = ::celeritas::size_type>
struct celeritas::OpticalOffloadCounters< T >

Current sizes of the buffers of distribution data.

These sizes are updated by value on the host at each core step. To allow accumulation over many steps which each may have many photons, the type is templated.

Member Data Documentation

◆ cherenkov

template<class T = ::celeritas::size_type>
size_type celeritas::OpticalOffloadCounters< T >::cherenkov {0}

Number of generators

◆ scintillation

template<class T = ::celeritas::size_type>
size_type celeritas::OpticalOffloadCounters< T >::scintillation {0}

Number of generators


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