Celeritas 0.7-develop+980877a
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
celeritas::ProcessGroup Struct Reference

Processes for a single particle type. More...

#include <PhysicsData.hh>

Public Member Functions

 operator bool () const
 True if assigned and valid.
 
ParticleProcessId::size_type size () const
 Number of processes that apply.
 

Public Attributes

ItemRange< ProcessId > processes
 Processes that apply [ppid].
 
ItemRange< ModelGroup > models
 Model applicability [ppid].
 
ItemRange< IntegralXsProcess > integral_xs
 [ppid]
 
ItemRange< ValueTable< XsGridId > > macro_xs
 [ppid]
 
UniformTable energy_loss
 Process-integrated energy loss.
 
UniformTable range
 Process-integrated range.
 
UniformTable inverse_range
 Inverse process-integrated range.
 
ParticleProcessId at_rest
 ID of the particle's at-rest process.
 
ActionId decay_action
 Decay channel action, if the particle decays.
 

Detailed Description

Processes for a single particle type.

Each index should be accessed with type ParticleProcessId. macro_xs stores the cross section tables for each process, while energy_loss and range are the process-integrated dE/dx and range for the particle. integral_xs will only be assigned if the integral approach is used and the particle has continuous-discrete processes.

At most one interaction process per particle may apply at rest. Such processes are selected immediately (with no sampled time to interaction) when the particle stops, so decay is the at-rest process only when no other is present.

Todo:
If processes with a nonzero time to interaction at rest are added, at_rest should be replaced by the set of at-rest processes, and select_discrete_interaction should choose the one with the shortest sampled time to interaction.

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