Celeritas
0.5.0-56+6b053cd
|
Scalar (no template needed) quantities used by physics. More...
#include <PhysicsData.hh>
Public Types | |
using | Energy = units::MevEnergy |
Public Member Functions | |
CELER_FUNCTION | operator bool () const |
True if assigned. | |
CELER_FORCEINLINE_FUNCTION ActionId | msc_action () const |
Stop early due to MSC limitation. | |
CELER_FORCEINLINE_FUNCTION ActionId | range_action () const |
Stop early due to range limitation. | |
CELER_FORCEINLINE_FUNCTION ActionId | discrete_action () const |
Undergo a discrete interaction. | |
CELER_FORCEINLINE_FUNCTION ActionId | integral_rejection_action () const |
Indicate a discrete interaction was rejected by the integral method. | |
CELER_FORCEINLINE_FUNCTION ActionId | failure_action () const |
Indicate an interaction failed to allocate memory. | |
Public Attributes | |
ProcessId::size_type | max_particle_processes {} |
Highest number of processes for any particle type. | |
ActionId::size_type | model_to_action {} |
Offset to create an ActionId from a ModelId. | |
ModelId::size_type | num_models {} |
Number of physics models. | |
real_type | min_range {} |
rho [len] | |
real_type | max_step_over_range {} |
alpha [unitless] | |
real_type | min_eprime_over_e {} |
xi [unitless] | |
Energy | lowest_electron_energy {} |
Lowest e-/e+ kinetic energy. | |
real_type | linear_loss_limit {} |
For scaled range calculation. | |
real_type | fixed_step_limiter {} |
Global charged step size limit [len]. | |
real_type | lambda_limit {} |
lambda limit | |
real_type | range_factor {} |
range factor for e-/e+ (0.2 for muon/h) | |
real_type | safety_factor {} |
safety factor | |
MscStepLimitAlgorithm | step_limit_algorithm {MscStepLimitAlgorithm::size_} |
real_type | secondary_stack_factor = 3 |
Secondary storage per state size. | |
ActionId | fixed_step_action {} |
Scalar (no template needed) quantities used by physics.
The user-configurable constants and multiple scattering options are described in PhysicsParams
.
The model_to_action
value corresponds to the ActionId
for the first ModelId
. Additionally it implies (by construction in physics_params) the action IDs of several other physics actions.