From 2e7c131ca7b9c92b82f1196bc6c690774ad19bd9 Mon Sep 17 00:00:00 2001 From: Felix Riehn <felix@matilda> Date: Wed, 28 Nov 2018 19:18:01 +0000 Subject: [PATCH] added cross section unit --- Framework/Units/PhysicalConstants.h | 1 - Framework/Units/PhysicalUnits.h | 16 +--------------- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/Framework/Units/PhysicalConstants.h b/Framework/Units/PhysicalConstants.h index 851f62a21..7add499dd 100644 --- a/Framework/Units/PhysicalConstants.h +++ b/Framework/Units/PhysicalConstants.h @@ -54,7 +54,6 @@ namespace corsika::units::si::constants { // unified atomic mass unit constexpr quantity<mass_d> u{Rep(1.6605402e-27L) * kilogram}; - // etc. } // namespace corsika::units::si::constants diff --git a/Framework/Units/PhysicalUnits.h b/Framework/Units/PhysicalUnits.h index deca41d9b..de75e9b8e 100644 --- a/Framework/Units/PhysicalUnits.h +++ b/Framework/Units/PhysicalUnits.h @@ -16,20 +16,7 @@ namespace phys { namespace units { namespace literals { QUANTITY_DEFINE_SCALING_LITERALS(eV, energy_d, - magnitude(corsika::units::si::constants::eV)) - - // phys::units::quantity<energy_d/mass_d> Joule2Kg = c2; // 1_Joule / 1_kg; - - } // namespace literals - } // namespace units -} // namespace phys - - -namespace phys { - namespace units { - namespace literals { - QUANTITY_DEFINE_SCALING_LITERALS(meter, length_d, - magnitude(corsika::units::si::constants::meter)) + magnitude(corsika::units::si::constants::eV)); // phys::units::quantity<energy_d/mass_d> Joule2Kg = c2; // 1_Joule / 1_kg; @@ -38,7 +25,6 @@ namespace phys { } - namespace corsika::units::si { using namespace phys::units; using namespace phys::units::literals; -- GitLab