CORSIKA  @c8_version@
The framework to simulate particle cascades for astroparticle physics
corsika::units::si Namespace Reference

SI units as used mainly in CORSIKA8 as basedline. More...

Typedefs

using hepmomentum_d = phys::units::hepenergy_d
 defining momentum you suckers dimensions, i.e. composition in base SI dimensions
 
using hepmass_d = phys::units::hepenergy_d
 
using sigma_d = phys::units::area_d
 defining cross section as area
 
using DimensionlessType = phys::units::quantity< phys::units::dimensionless_d, double >
 add the unit-types
 
using LengthType = phys::units::quantity< phys::units::length_d, double >
 
using TimeType = phys::units::quantity< phys::units::time_interval_d, double >
 
using SpeedType = phys::units::quantity< phys::units::speed_d, double >
 
using FrequencyType = phys::units::quantity< phys::units::frequency_d, double >
 
using ElectricChargeType = phys::units::quantity< phys::units::electric_charge_d, double >
 
using HEPEnergyType = phys::units::quantity< phys::units::hepenergy_d, double >
 
using MassType = phys::units::quantity< phys::units::mass_d, double >
 
using HEPMassType = phys::units::quantity< hepmass_d, double >
 
using MassDensityType = phys::units::quantity< phys::units::mass_density_d, double >
 
using GrammageType = phys::units::quantity< phys::units::dimensions<-2, 1, 0 >, double >
 
using HEPMomentumType = phys::units::quantity< hepmomentum_d, double >
 
using CrossSectionType = phys::units::quantity< area_d, double >
 
using InverseLengthType = phys::units::quantity< phys::units::dimensions<-1, 0, 0 >, double >
 
using InverseTimeType = phys::units::quantity< phys::units::dimensions< 0, 0, -1 >, double >
 
using InverseMassDensityType = phys::units::quantity< phys::units::dimensions< 3, -1, 0 >, double >
 
using InverseGrammageType = phys::units::quantity< phys::units::dimensions< 2, -1, 0 >, double >
 
using MagneticFluxType = phys::units::quantity< phys::units::magnetic_flux_density_d, double >
 
using ElectricFieldType = phys::units::quantity< phys::units::dimensions< 1, 1, -3, -1 >, double >
 
using VectorPotentialType = phys::units::quantity< phys::units::dimensions< 1, 1, -2, -1 >, double >
 

Functions

template<typename DimFrom , typename DimTo >
auto constexpr conversion_factor_HEP_to_SI ()
 
template<typename DimFrom >
auto constexpr conversion_factor_SI_to_HEP ()
 
template<typename DimTo , typename DimFrom >
auto constexpr convert_HEP_to_SI (quantity< DimFrom > q)
 
template<typename DimFrom >
auto constexpr convert_SI_to_HEP (quantity< DimFrom > q)
 

Detailed Description

SI units as used mainly in CORSIKA8 as basedline.