Celeritas 0.6.0-47+develop.b3cbb238
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 distributions {0}
 Number of generators.
 
size_type photons {0}
 Number of generated tracks.
 

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.


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