IAP GITLAB

Skip to content
Snippets Groups Projects
Commit 2e7c131c authored by Felix Riehn's avatar Felix Riehn Committed by ralfulrich
Browse files

added cross section unit

parent 00796aab
No related branches found
No related tags found
No related merge requests found
...@@ -54,7 +54,6 @@ namespace corsika::units::si::constants { ...@@ -54,7 +54,6 @@ namespace corsika::units::si::constants {
// unified atomic mass unit // unified atomic mass unit
constexpr quantity<mass_d> u{Rep(1.6605402e-27L) * kilogram}; constexpr quantity<mass_d> u{Rep(1.6605402e-27L) * kilogram};
// etc. // etc.
} // namespace corsika::units::si::constants } // namespace corsika::units::si::constants
......
...@@ -16,20 +16,7 @@ namespace phys { ...@@ -16,20 +16,7 @@ namespace phys {
namespace units { namespace units {
namespace literals { namespace literals {
QUANTITY_DEFINE_SCALING_LITERALS(eV, energy_d, QUANTITY_DEFINE_SCALING_LITERALS(eV, energy_d,
magnitude(corsika::units::si::constants::eV)) 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))
// phys::units::quantity<energy_d/mass_d> Joule2Kg = c2; // 1_Joule / 1_kg; // phys::units::quantity<energy_d/mass_d> Joule2Kg = c2; // 1_Joule / 1_kg;
...@@ -38,7 +25,6 @@ namespace phys { ...@@ -38,7 +25,6 @@ namespace phys {
} }
namespace corsika::units::si { namespace corsika::units::si {
using namespace phys::units; using namespace phys::units;
using namespace phys::units::literals; using namespace phys::units::literals;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment