CORSIKA  @c8_version@
The framework to simulate particle cascades for astroparticle physics
PhysicalConstants.hpp File Reference

Constants are defined with static units, based on the package (namespace) phys::units, imported in PhysicsUnits.hpp. More...

Include dependency graph for PhysicalConstants.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 corsika::constants
 Physical and mathematical constants with units.
 
 corsika::constants::EarthRadius
 A namespace containing various Earth radii.
 

Variables

constexpr quantity< acceleration_dcorsika::constants::g_sub_n {Rep(9.80665L) * meter / square(second)}
 
constexpr quantity< dimensions< 0, 0, 0, 0, 0, -1 > > corsika::constants::N_sub_A {Rep(6.02214199e+23L) / mole}
 
constexpr quantity< electric_charge_dcorsika::constants::e {Rep(1.6021766208e-19L) * coulomb}
 
constexpr quantity< dimensions<-3, -1, 4, 2 > > corsika::constants::epsilonZero
 
constexpr quantity< dimensions< 2, 1, -1 > > corsika::constants::h {Rep(6.62606876e-34L) * joule * second}
 
constexpr quantity< dimensions< 2, 1, -1 > > corsika::constants::hBar {h / (2 * M_PI)}
 
constexpr quantity< speed_dcorsika::constants::c {Rep(299792458L) * meter / second}
 
constexpr auto corsika::constants::cSquared = c * c
 
constexpr quantity< dimensions< 1, 0, 0, 0, 0, 0, 0, 1 > > corsika::constants::hBarC
 
auto constexpr corsika::constants::invGeVsq = 1e-18 / (electronvolt * electronvolt)
 
constexpr quantity< mass_dcorsika::constants::u {Rep(1.6605402e-27L) * kilogram}
 
auto constexpr corsika::constants::nucleonMass = 0.5 * (0.93827 + 0.93957) * 1e9 * electronvolt
 
auto constexpr corsika::constants::R = Rep(8.314'459'8) * joule / (mole * kelvin)
 

Detailed Description

Constants are defined with static units, based on the package (namespace) phys::units, imported in PhysicsUnits.hpp.

Definition in file PhysicalConstants.hpp.