mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-04 12:54:25 +02:00
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:
@@ -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);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user