|
criptic v1
Cosmic Ray Interstellar Propagation Tool using Itô Calculus
|
A namespace to hold special relativistic functions. More...
Functions | |
| static Real | gamma_from_p (const Real m, const Real p) |
| Compute Lorentz factor from rest mass and momentum. | |
| static Real | gamma_from_T (const Real m, const Real T) |
| Compute Lorentz factor from rest mass and kinetic energy. | |
| static Real | gamma_from_E (const Real m, const Real E) |
| Compute Lorentz factor from rest mass and total energy. | |
| static Real | p_from_gamma (const Real m, const Real gamma) |
| Compute momentum from rest mass and Lorentz factor. | |
| static Real | p_from_T (const Real m, const Real T) |
| Compute momentum from rest mass and kinetic energy. | |
| static Real | p_from_E (const Real m, const Real E) |
| Compute momentum from rest mass and total energy. | |
| static Real | T_from_gamma (const Real m, const Real gamma) |
| Compute kinetic energy from rest mass and Lorentz factor. | |
| static Real | T_from_p (const Real m, const Real p) |
| Compute kinetic energy from rest mass and momentum. | |
| static Real | E_from_gamma (const Real m, const Real gamma) |
| Compute total energy from rest mass and Lorentz factor. | |
| static Real | E_from_p (const Real m, const Real p) |
| Compute total energy from rest mass and momentum. | |
| static Real | dT_dp (const Real m, const Real p) |
| Compute derivative of kinetic energy with respect to momentum. | |
| static Real | v_from_p (const Real m, const Real p) |
| Compute velocity from momentum. | |
| static Real | gamma_from_p (const partTypes::pType pt, const Real p) |
| Compute Lorentz factor from particle type and momentum. | |
| static Real | gamma_from_T (const partTypes::pType pt, const Real T) |
| Compute Lorentz factor from particle type and kinetic energy. | |
| static Real | p_from_gamma (const partTypes::pType pt, const Real gamma) |
| Compute momentum from particle type and Lorentz factor. | |
| static Real | p_from_T (const partTypes::pType pt, const Real T) |
| Compute momentum from particle type and kinetic energy. | |
| static Real | T_from_gamma (const partTypes::pType pt, const Real gamma) |
| Compute kinetic energy from particle type and Lorentz factor. | |
| static Real | T_from_p (const partTypes::pType pt, const Real p) |
| Compute kinetic energy from particle type and momentum. | |
| static Real | dT_dp (const partTypes::pType pt, const Real p) |
| Compute derivative of kinetic energy with respect to momentum. | |
| static Real | v_from_p (const partTypes::pType pt, const Real p) |
| Compute particle velocity from particle type and momentum. | |
| static Real | ECM (const Real mt, const Real mp, const Real T) |
| Compute center of mass energy for collision with fixed target. | |
| static Real | ECM (const partTypes::pType ptt, const partTypes::pType ptp, const Real T) |
| Compute center of mass energy for collision with fixed target. | |
A namespace to hold special relativistic functions.
|
inlinestatic |
Compute derivative of kinetic energy with respect to momentum.
| pt | Particle type |
| p | Particle momentum |
Compute derivative of kinetic energy with respect to momentum.
| m | Particle rest mass |
| p | Particle momentum |
Compute total energy from rest mass and Lorentz factor.
| m | Particle rest mass |
| gamma | Particle Lorentz factor |
Compute total energy from rest mass and momentum.
| m | Particle rest mass |
| p | Particle momentum |
|
inlinestatic |
Compute center of mass energy for collision with fixed target.
| ptp | Particle type of projectile |
| ptt | Particle type of target |
| T | Kinetic energy of moving particle |
Compute center of mass energy for collision with fixed target.
| mp | Mass of projectile |
| mt | Mass of target |
| T | Kinetic energy of moving particle |
Compute Lorentz factor from rest mass and total energy.
| m | Particle rest mass |
| E | Particle total energy |
|
inlinestatic |
Compute Lorentz factor from particle type and momentum.
| pt | Particle type |
| p | Particle momentum |
Compute Lorentz factor from rest mass and momentum.
| m | Particle rest mass |
| p | Particle momentum |
|
inlinestatic |
Compute Lorentz factor from particle type and kinetic energy.
| pt | Particle type |
| T | Particle kinetic energy |
Compute Lorentz factor from rest mass and kinetic energy.
| m | Particle rest mass |
| T | Particle kinetic energy |
Compute momentum from rest mass and total energy.
| m | Particle rest mass |
| E | Particle energy |
|
inlinestatic |
Compute momentum from particle type and Lorentz factor.
| pt | Particle type |
| gamma | Particle Lorentz factor |
Compute momentum from rest mass and Lorentz factor.
| m | Particle rest mass |
| gamma | Particle Lorentz factor |
|
inlinestatic |
Compute momentum from particle type and kinetic energy.
| pt | Particle type |
| T | Particle kinetic energy |
Compute momentum from rest mass and kinetic energy.
| m | Particle rest mass |
| T | Particle kinetic energy |
|
inlinestatic |
Compute kinetic energy from particle type and Lorentz factor.
| pt | Particle type |
| gamma | Particle Lorentz factor |
Compute kinetic energy from rest mass and Lorentz factor.
| m | Particle rest mass |
| gamma | Particle Lorentz factor |
|
inlinestatic |
Compute kinetic energy from particle type and momentum.
| pt | Particle type |
| p | Particle momentum |
Compute kinetic energy from rest mass and momentum.
| m | Particle rest mass |
| p | Particle momentum |
|
inlinestatic |
Compute particle velocity from particle type and momentum.
| pt | Particle type |
| p | Particle momentum |