Celeritas  0.5.0-86+4a8eea4
List of all members
celeritas::CoreStateCounters Struct Reference

Counters for within-step track initialization and activity. More...

#include <CoreStateCounters.hh>

Public Attributes

Set after primaries are generated
size_type num_generated {0}
 Number of track initializers created.
 
Updated during generation and initialization
size_type num_initializers {0}
 Number of track initializers.
 
size_type num_vacancies {0}
 Number of empty track slots.
 
Set after tracks are initialized
size_type num_active {0}
 Number of active tracks at start.
 
Set after secondaries are generated
size_type num_secondaries {0}
 Number of secondaries produced.
 
size_type num_alive {0}
 Number of alive tracks at end.
 

Detailed Description

Counters for within-step track initialization and activity.

These counters are updated by value on the host at every step so they should not be stored in TrackInitStateData because then the device-memory copy will not be synchronized.

Todo:
Drop the 'num' prefix since we know they're counters.

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