feat: 💥 reduced_planck constant removed as it is unclear if it should be angular or not (leave the choice to the user)

This commit is contained in:
Mateusz Pusz
2022-09-03 12:29:58 +02:00
parent bb453e4a8a
commit 520c944971

View File

@@ -22,6 +22,7 @@
#pragma once #pragma once
#include <units/generic/angle.h>
#include <units/isq/si/amount_of_substance.h> #include <units/isq/si/amount_of_substance.h>
#include <units/isq/si/electric_charge.h> #include <units/isq/si/electric_charge.h>
#include <units/isq/si/energy.h> #include <units/isq/si/energy.h>
@@ -36,9 +37,6 @@ namespace units::isq::si::si2019 {
template<Representation Rep = double> template<Representation Rep = double>
inline constexpr auto planck_constant = energy<joule, Rep>(6.62607015e-34) * time<second, Rep>(1); inline constexpr auto planck_constant = energy<joule, Rep>(6.62607015e-34) * time<second, Rep>(1);
template<Representation Rep = double>
inline constexpr auto reduced_planck_constant = energy<gigaelectronvolt, Rep>(6.582119569e-10) * time<second, Rep>(1);
template<Representation Rep = double> template<Representation Rep = double>
inline constexpr auto elementary_charge = electric_charge<coulomb, Rep>(1.602176634e-19); inline constexpr auto elementary_charge = electric_charge<coulomb, Rep>(1.602176634e-19);