|
Celeritas 0.7-develop+a3e14d7
|
Current sizes of the buffered generator data. More...
#include <GeneratorCounters.hh>
Public Types | |
| using | size_type = T |
Public Member Functions | |
| bool | empty () const |
| True if any queued generators/tracks exist. | |
Public Attributes | |
| size_type | buffer_size {0} |
| Number of generators. | |
| size_type | num_pending {0} |
| Number of photons remaining to be generated. | |
| size_type | num_generated {0} |
| Number of photons generated. | |
Current sizes of the buffered generator data.
During stepping these are updated on device (see GeneratorStateCounters ), and a host copy is updated once stepping completes. To allow accumulation over many steps which each may have many photons, the type is templated.