Celeritas 0.6.0-rc.2.10+develop.de0a3a05
Loading...
Searching...
No Matches
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.

For all user StepActionOrder (TODO: this may change if we add a "user_end"), all but the secondaries/alive counts are for the current step iteration, and secondaries/alive values are from the previous step iteration.

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

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