feat: quantity aliases support addded
This commit is contained in:
1 parent
813197021f
commit
70bff31d06
116 files changed
+2956
-742
No files matched your search
@@ -93,3 +93,21 @@ using namespace modulation_rate_references;
|
||||
#endif // UNITS_REFERENCES
|
||||
|
||||
} // namespace units::isq::iec80000
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::iec80000::inline modulation_rate {
|
||||
|
||||
template<Representation Rep = double> using Bd = units::isq::iec80000::modulation_rate<units::isq::iec80000::baud, Rep>;
|
||||
template<Representation Rep = double> using kBd = units::isq::iec80000::modulation_rate<units::isq::iec80000::kilobaud, Rep>;
|
||||
template<Representation Rep = double> using MBd = units::isq::iec80000::modulation_rate<units::isq::iec80000::megabaud, Rep>;
|
||||
template<Representation Rep = double> using GBd = units::isq::iec80000::modulation_rate<units::isq::iec80000::gigabaud, Rep>;
|
||||
template<Representation Rep = double> using TBd = units::isq::iec80000::modulation_rate<units::isq::iec80000::terabaud, Rep>;
|
||||
template<Representation Rep = double> using PBd = units::isq::iec80000::modulation_rate<units::isq::iec80000::petabaud, Rep>;
|
||||
template<Representation Rep = double> using EBd = units::isq::iec80000::modulation_rate<units::isq::iec80000::exabaud, Rep>;
|
||||
template<Representation Rep = double> using ZBd = units::isq::iec80000::modulation_rate<units::isq::iec80000::zettabaud, Rep>;
|
||||
template<Representation Rep = double> using YBd = units::isq::iec80000::modulation_rate<units::isq::iec80000::yottabaud, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::iec80000::inline modulation_rate
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -178,3 +178,49 @@ using namespace storage_capacity_references;
|
||||
#endif // UNITS_REFERENCES
|
||||
|
||||
} // namespace units::isq::iec80000
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::iec80000::inline storage_capacity {
|
||||
|
||||
// bits
|
||||
template<Representation Rep = double> using bit = units::isq::iec80000::storage_capacity<units::isq::iec80000::bit, Rep>;
|
||||
|
||||
template<Representation Rep = double> using kbit = units::isq::iec80000::storage_capacity<units::isq::iec80000::kilobit, Rep>;
|
||||
template<Representation Rep = double> using Mbit = units::isq::iec80000::storage_capacity<units::isq::iec80000::megabit, Rep>;
|
||||
template<Representation Rep = double> using Gbit = units::isq::iec80000::storage_capacity<units::isq::iec80000::gigabit, Rep>;
|
||||
template<Representation Rep = double> using Tbit = units::isq::iec80000::storage_capacity<units::isq::iec80000::terabit, Rep>;
|
||||
template<Representation Rep = double> using Pbit = units::isq::iec80000::storage_capacity<units::isq::iec80000::petabit, Rep>;
|
||||
template<Representation Rep = double> using Ebit = units::isq::iec80000::storage_capacity<units::isq::iec80000::exabit, Rep>;
|
||||
template<Representation Rep = double> using Zbit = units::isq::iec80000::storage_capacity<units::isq::iec80000::zettabit, Rep>;
|
||||
template<Representation Rep = double> using Ybit = units::isq::iec80000::storage_capacity<units::isq::iec80000::yottabit, Rep>;
|
||||
|
||||
template<Representation Rep = double> using Kibit = units::isq::iec80000::storage_capacity<units::isq::iec80000::kibibit, Rep>;
|
||||
template<Representation Rep = double> using Mibit = units::isq::iec80000::storage_capacity<units::isq::iec80000::mebibit, Rep>;
|
||||
template<Representation Rep = double> using Gibit = units::isq::iec80000::storage_capacity<units::isq::iec80000::gibibit, Rep>;
|
||||
template<Representation Rep = double> using Tibit = units::isq::iec80000::storage_capacity<units::isq::iec80000::tebibit, Rep>;
|
||||
template<Representation Rep = double> using Pibit = units::isq::iec80000::storage_capacity<units::isq::iec80000::pebibit, Rep>;
|
||||
template<Representation Rep = double> using Eibit = units::isq::iec80000::storage_capacity<units::isq::iec80000::exbibit, Rep>;
|
||||
|
||||
// bytes
|
||||
template<Representation Rep = double> using B = units::isq::iec80000::storage_capacity<units::isq::iec80000::byte, Rep>;
|
||||
|
||||
template<Representation Rep = double> using kB = units::isq::iec80000::storage_capacity<units::isq::iec80000::kilobyte, Rep>;
|
||||
template<Representation Rep = double> using MB = units::isq::iec80000::storage_capacity<units::isq::iec80000::megabyte, Rep>;
|
||||
template<Representation Rep = double> using GB = units::isq::iec80000::storage_capacity<units::isq::iec80000::gigabyte, Rep>;
|
||||
template<Representation Rep = double> using TB = units::isq::iec80000::storage_capacity<units::isq::iec80000::terabyte, Rep>;
|
||||
template<Representation Rep = double> using PB = units::isq::iec80000::storage_capacity<units::isq::iec80000::petabyte, Rep>;
|
||||
template<Representation Rep = double> using EB = units::isq::iec80000::storage_capacity<units::isq::iec80000::exabyte, Rep>;
|
||||
template<Representation Rep = double> using ZB = units::isq::iec80000::storage_capacity<units::isq::iec80000::zettabyte, Rep>;
|
||||
template<Representation Rep = double> using YB = units::isq::iec80000::storage_capacity<units::isq::iec80000::yottabyte, Rep>;
|
||||
|
||||
template<Representation Rep = double> using KiB = units::isq::iec80000::storage_capacity<units::isq::iec80000::kibibyte, Rep>;
|
||||
template<Representation Rep = double> using MiB = units::isq::iec80000::storage_capacity<units::isq::iec80000::mebibyte, Rep>;
|
||||
template<Representation Rep = double> using GiB = units::isq::iec80000::storage_capacity<units::isq::iec80000::gibibyte, Rep>;
|
||||
template<Representation Rep = double> using TiB = units::isq::iec80000::storage_capacity<units::isq::iec80000::tebibyte, Rep>;
|
||||
template<Representation Rep = double> using PiB = units::isq::iec80000::storage_capacity<units::isq::iec80000::pebibyte, Rep>;
|
||||
// template<Representation Rep = double> using EiB = units::isq::iec80000::storage_capacity<units::isq::iec80000::exbibyte, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::iec80000::inline storage_capacity
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -70,3 +70,13 @@ using namespace traffic_intensity_references;
|
||||
#endif // UNITS_REFERENCES
|
||||
|
||||
} // namespace units::isq::iec80000
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::iec80000::inline traffic_intensity {
|
||||
|
||||
template<Representation Rep = double> using E = units::isq::iec80000::traffic_intensity<units::isq::iec80000::erlang, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::iec80000::inline traffic_intensity
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -71,3 +71,21 @@ constexpr auto operator"" _q_YB_per_s(unsigned long long l) { gsl_ExpectsAudit(s
|
||||
#endif // UNITS_LITERALS
|
||||
|
||||
} // namespace units::isq::iec80000
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::iec80000::inline transfer_rate {
|
||||
|
||||
template<Representation Rep = double> using B_per_s = units::isq::iec80000::transfer_rate<units::isq::iec80000::byte_per_second, Rep>;
|
||||
template<Representation Rep = double> using kB_per_s = units::isq::iec80000::transfer_rate<units::isq::iec80000::kilobyte_per_second, Rep>;
|
||||
template<Representation Rep = double> using MB_per_s = units::isq::iec80000::transfer_rate<units::isq::iec80000::megabyte_per_second, Rep>;
|
||||
template<Representation Rep = double> using GB_per_s = units::isq::iec80000::transfer_rate<units::isq::iec80000::gigabyte_per_second, Rep>;
|
||||
template<Representation Rep = double> using TB_per_s = units::isq::iec80000::transfer_rate<units::isq::iec80000::terabyte_per_second, Rep>;
|
||||
template<Representation Rep = double> using PB_per_s = units::isq::iec80000::transfer_rate<units::isq::iec80000::petabyte_per_second, Rep>;
|
||||
template<Representation Rep = double> using EB_per_s = units::isq::iec80000::transfer_rate<units::isq::iec80000::exabyte_per_second, Rep>;
|
||||
template<Representation Rep = double> using ZB_per_s = units::isq::iec80000::transfer_rate<units::isq::iec80000::zettabyte_per_second, Rep>;
|
||||
template<Representation Rep = double> using YB_per_s = units::isq::iec80000::transfer_rate<units::isq::iec80000::yottabyte_per_second, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::iec80000::inline transfer_rate
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -69,3 +69,13 @@ using namespace acceleration_references;
|
||||
#endif // UNITS_REFERENCES
|
||||
|
||||
} // namespace units::isq::si::cgs
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::cgs::inline acceleration {
|
||||
|
||||
template<Representation Rep = double> using Gal = units::isq::si::cgs::acceleration<units::isq::si::cgs::gal, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::cgs::inline acceleration
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -71,3 +71,13 @@ using namespace area_references;
|
||||
#endif // UNITS_REFERENCES
|
||||
|
||||
} // namespace units::isq::si::cgs
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::cgs::inline area {
|
||||
|
||||
template<Representation Rep = double> using cm2 = units::isq::si::cgs::area<units::isq::si::cgs::square_centimetre, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::cgs::inline area
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -71,3 +71,13 @@ using namespace energy_references;
|
||||
#endif // UNITS_REFERENCES
|
||||
|
||||
} // namespace units::isq::si::cgs
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::cgs::inline energy {
|
||||
|
||||
template<Representation Rep = double> using erg = units::isq::si::cgs::energy<units::isq::si::cgs::erg, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::cgs::inline energy
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -72,3 +72,13 @@ using namespace force_references;
|
||||
#endif // UNITS_REFERENCES
|
||||
|
||||
} // namespace units::isq::si::cgs
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::cgs::inline force {
|
||||
|
||||
template<Representation Rep = double> using dyn = units::isq::si::cgs::force<units::isq::si::cgs::dyne, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::cgs::inline force
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -70,3 +70,13 @@ using namespace length_references;
|
||||
#endif // UNITS_REFERENCES
|
||||
|
||||
} // namespace units::isq::si::cgs
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::cgs::inline length {
|
||||
|
||||
template<Representation Rep = double> using cm = units::isq::si::cgs::length<units::isq::si::cgs::centimetre, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::cgs::inline length
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -70,3 +70,13 @@ using namespace mass_references;
|
||||
#endif // UNITS_REFERENCES
|
||||
|
||||
} // namespace units::isq::si::cgs
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::cgs::inline mass {
|
||||
|
||||
template<Representation Rep = double> using g = units::isq::si::cgs::mass<units::isq::si::cgs::gram, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::cgs::inline mass
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -54,3 +54,13 @@ constexpr auto operator"" _q_erg_per_s(long double l) { return power<erg_per_sec
|
||||
#endif // UNITS_LITERALS
|
||||
|
||||
} // namespace units::isq::si::cgs
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::cgs::inline power {
|
||||
|
||||
template<Representation Rep = double> using erg_per_s = units::isq::si::cgs::power<units::isq::si::cgs::erg_per_second, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::cgs::inline power
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -72,3 +72,13 @@ using namespace pressure_references;
|
||||
#endif // UNITS_REFERENCES
|
||||
|
||||
} // namespace units::isq::si::cgs
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::cgs::inline pressure {
|
||||
|
||||
template<Representation Rep = double> using Ba = units::isq::si::cgs::pressure<units::isq::si::cgs::barye, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::cgs::inline pressure
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -53,3 +53,13 @@ constexpr auto operator"" _q_cm_per_s(long double l) { return speed<centimetre_p
|
||||
#endif // UNITS_LITERALS
|
||||
|
||||
} // namespace units::isq::si::cgs
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::cgs::inline speed {
|
||||
|
||||
template<Representation Rep = double> using cm_per_s = units::isq::si::cgs::speed<units::isq::si::cgs::centimetre_per_second, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::cgs::inline speed
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -64,3 +64,13 @@ using namespace time_references;
|
||||
#endif // UNITS_REFERENCES
|
||||
|
||||
} // namespace units::isq::si::cgs
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::cgs::inline time {
|
||||
|
||||
using namespace units::aliases::isq::si::time;
|
||||
|
||||
} // namespace units::aliases::isq::si::cgs::inline time
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -52,3 +52,13 @@ constexpr auto operator"" _q_ft_per_s2(long double l) { return acceleration<foot
|
||||
#endif // UNITS_LITERALS
|
||||
|
||||
} // namespace units::isq::si::fps
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::fps::inline acceleration {
|
||||
|
||||
template<Representation Rep = double> using ft_per_s2 = units::isq::si::fps::acceleration<units::isq::si::fps::foot_per_second_sq, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::fps::inline acceleration
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -70,3 +70,13 @@ using namespace area_references;
|
||||
#endif // UNITS_REFERENCES
|
||||
|
||||
} // namespace units::isq::si::fps
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::fps::inline area {
|
||||
|
||||
template<Representation Rep = double> using ft2 = units::isq::si::fps::area<units::isq::si::fps::square_foot, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::fps::inlipne area
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -54,3 +54,13 @@ constexpr auto operator"" _q_lb_per_ft3(long double l) { return density<pound_pe
|
||||
#endif // UNITS_LITERALS
|
||||
|
||||
} // namespace units::isq::si::fps
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::fps::inline density {
|
||||
|
||||
template<Representation Rep = double> using lb_per_ft3 = units::isq::si::fps::density<units::isq::si::fps::pound_per_foot_cub, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::fps::inline density
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -62,3 +62,14 @@ constexpr auto operator"" _q_ft_lbf(long double l) { return energy<foot_pound_fo
|
||||
#endif // UNITS_LITERALS
|
||||
|
||||
} // namespace units::isq::si::fps
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::fps::inline energy {
|
||||
|
||||
template<Representation Rep = double> using ft_pdl = units::isq::si::fps::energy<units::isq::si::fps::foot_poundal, Rep>;
|
||||
template<Representation Rep = double> using ft_lbf = units::isq::si::fps::energy<units::isq::si::fps::foot_pound_force, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::fps::inline energy
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -91,3 +91,15 @@ using namespace force_references;
|
||||
#endif // UNITS_REFERENCES
|
||||
|
||||
} // namespace units::isq::si::fps
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::fps::inline force {
|
||||
|
||||
template<Representation Rep = double> using pdl = units::isq::si::fps::force<units::isq::si::fps::poundal, Rep>;
|
||||
template<Representation Rep = double> using lbf = units::isq::si::fps::force<units::isq::si::fps::pound_force, Rep>;
|
||||
template<Representation Rep = double> using klbf = units::isq::si::fps::force<units::isq::si::fps::kilopound_force, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::fps::inline force
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -128,3 +128,22 @@ using namespace length_references;
|
||||
#endif // UNITS_REFERENCES
|
||||
|
||||
} // namespace units::isq::si::fps
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::fps::inline length {
|
||||
|
||||
template<Representation Rep = double> using thou = units::isq::si::fps::length<units::isq::si::fps::thousandth, Rep>;
|
||||
template<Representation Rep = double> using mil = thou<Rep>;
|
||||
|
||||
template<Representation Rep = double> using in = units::isq::si::fps::length<units::isq::si::fps::inch, Rep>;
|
||||
template<Representation Rep = double> using ft = units::isq::si::fps::length<units::isq::si::fps::foot, Rep>;
|
||||
template<Representation Rep = double> using yd = units::isq::si::fps::length<units::isq::si::fps::yard, Rep>;
|
||||
template<Representation Rep = double> using ftm = units::isq::si::fps::length<units::isq::si::fps::fathom, Rep>;
|
||||
template<Representation Rep = double> using kyd = units::isq::si::fps::length<units::isq::si::fps::kiloyard, Rep>;
|
||||
template<Representation Rep = double> using mile = units::isq::si::fps::length<units::isq::si::fps::mile, Rep>;
|
||||
template<Representation Rep = double> using naut_mi = units::isq::si::fps::length<units::isq::si::fps::nautical_mile, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::fps::inline length
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -127,3 +127,21 @@ using namespace mass_references;
|
||||
#endif // UNITS_REFERENCES
|
||||
|
||||
} // namespace units::isq::si::fps
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::fps::inline mass {
|
||||
|
||||
template<Representation Rep = double> using gr = units::isq::si::fps::mass<units::isq::si::fps::grain, Rep>;
|
||||
template<Representation Rep = double> using dr = units::isq::si::fps::mass<units::isq::si::fps::dram, Rep>;
|
||||
template<Representation Rep = double> using oz = units::isq::si::fps::mass<units::isq::si::fps::ounce, Rep>;
|
||||
template<Representation Rep = double> using lb = units::isq::si::fps::mass<units::isq::si::fps::pound, Rep>;
|
||||
template<Representation Rep = double> using st = units::isq::si::fps::mass<units::isq::si::fps::stone, Rep>;
|
||||
template<Representation Rep = double> using qr = units::isq::si::fps::mass<units::isq::si::fps::quarter, Rep>;
|
||||
template<Representation Rep = double> using cwt = units::isq::si::fps::mass<units::isq::si::fps::hundredweight, Rep>;
|
||||
template<Representation Rep = double> using ston = units::isq::si::fps::mass<units::isq::si::fps::short_ton, Rep>;
|
||||
template<Representation Rep = double> using lton = units::isq::si::fps::mass<units::isq::si::fps::long_ton, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::fps::inline mass
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -83,3 +83,15 @@ using namespace power_references;
|
||||
#endif // UNITS_REFERENCES
|
||||
|
||||
} // namespace units::isq::si::fps
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::fps::inline power {
|
||||
|
||||
template<Representation Rep = double> using ft_pdl_per_s = units::isq::si::fps::power<units::isq::si::fps::foot_poundal_per_second, Rep>;
|
||||
template<Representation Rep = double> using ft_lbf_per_s = units::isq::si::fps::power<units::isq::si::fps::foot_pound_force_per_second, Rep>;
|
||||
template<Representation Rep = double> using hp = units::isq::si::fps::power<units::isq::si::fps::horse_power, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::fps::inline power
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -87,3 +87,15 @@ using namespace pressure_references;
|
||||
#endif // UNITS_REFERENCES
|
||||
|
||||
} // namespace units::isq::si::fps
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::fps::inline pressure {
|
||||
|
||||
template<Representation Rep = double> using pdl_per_ft2 = units::isq::si::fps::pressure<units::isq::si::fps::poundal_per_foot_sq, Rep>;
|
||||
template<Representation Rep = double> using psi = units::isq::si::fps::pressure<units::isq::si::fps::pound_force_per_inch_sq, Rep>;
|
||||
template<Representation Rep = double> using kpsi = units::isq::si::fps::pressure<units::isq::si::fps::kilopound_force_per_inch_sq, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::fps::inline pressure
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -47,7 +47,6 @@ struct nautical_mile_per_hour : named_deduced_unit<nautical_mile_per_hour, dim_s
|
||||
|
||||
struct knot : alias_unit<nautical_mile_per_hour, "knot", no_prefix> {};
|
||||
|
||||
|
||||
#ifdef UNITS_LITERALS
|
||||
|
||||
inline namespace literals {
|
||||
@@ -86,3 +85,15 @@ using namespace speed_references;
|
||||
#endif // UNITS_REFERENCES
|
||||
|
||||
} // namespace units::isq::si::fps
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::fps::inline speed {
|
||||
|
||||
template<Representation Rep = double> using ft_per_s = units::isq::si::fps::speed<units::isq::si::fps::foot_per_second, Rep>;
|
||||
template<Representation Rep = double> using mph = units::isq::si::fps::speed<units::isq::si::fps::mile_per_hour, Rep>;
|
||||
template<Representation Rep = double> using knot = units::isq::si::fps::speed<units::isq::si::fps::knot, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::fps::inline speed
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -68,3 +68,13 @@ using namespace time_references;
|
||||
#endif // UNITS_REFERENCES
|
||||
|
||||
} // namespace units::isq::si::fps
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::fps::inline time {
|
||||
|
||||
using namespace units::aliases::isq::si::time;
|
||||
|
||||
} // namespace units::aliases::isq::si::fps::inline time
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -76,3 +76,14 @@ using namespace volume_references;
|
||||
#endif // UNITS_REFERENCES
|
||||
|
||||
} // namespace units::isq::si::fps
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::fps::inline volume {
|
||||
|
||||
template<Representation Rep = double> using ft3 = units::isq::si::fps::volume<units::isq::si::fps::cubic_foot, Rep>;
|
||||
template<Representation Rep = double> using yd3 = units::isq::si::fps::volume<units::isq::si::fps::cubic_yard, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::fps::inline volume
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -83,3 +83,15 @@ using namespace length_references;
|
||||
#endif // UNITS_REFERENCES
|
||||
|
||||
} // namespace units::isq::si::iau
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::iau::inline length {
|
||||
|
||||
template<Representation Rep = double> using ly = units::isq::si::length<units::isq::si::iau::light_year, Rep>;
|
||||
template<Representation Rep = double> using pc = units::isq::si::length<units::isq::si::iau::parsec, Rep>;
|
||||
template<Representation Rep = double> using angstrom = units::isq::si::length<units::isq::si::iau::angstrom, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::iau
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -74,3 +74,14 @@ using namespace length_references;
|
||||
#endif // UNITS_REFERENCES
|
||||
|
||||
} // namespace units::isq::si::imperial
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::imperial::inline length {
|
||||
|
||||
template<Representation Rep = double> using ch = units::isq::si::length<units::isq::si::imperial::chain, Rep>;
|
||||
template<Representation Rep = double> using rd = units::isq::si::length<units::isq::si::imperial::rod, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::imperial::inline length
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -66,3 +66,13 @@ using namespace area_references;
|
||||
#endif // UNITS_REFERENCES
|
||||
|
||||
} // namespace units::isq::si::international
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::international::inline area {
|
||||
|
||||
template<Representation Rep = double> using ft2 = units::isq::si::area<units::isq::si::international::square_foot, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::international::inline area
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -130,3 +130,20 @@ using namespace length_references;
|
||||
#endif // UNITS_REFERENCES
|
||||
|
||||
} // namespace units::isq::si::international
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::international::inline length {
|
||||
|
||||
template<Representation Rep = double> using yd = units::isq::si::length<units::isq::si::international::yard, Rep>;
|
||||
template<Representation Rep = double> using ft = units::isq::si::length<units::isq::si::international::foot, Rep>;
|
||||
template<Representation Rep = double> using fathom = units::isq::si::length<units::isq::si::international::fathom, Rep>;
|
||||
template<Representation Rep = double> using in = units::isq::si::length<units::isq::si::international::inch, Rep>;
|
||||
template<Representation Rep = double> using mi = units::isq::si::length<units::isq::si::international::mile, Rep>;
|
||||
template<Representation Rep = double> using mi_naut = units::isq::si::length<units::isq::si::international::nautical_mile, Rep>;
|
||||
template<Representation Rep = double> using thou = units::isq::si::length<units::isq::si::international::thou, Rep>;
|
||||
template<Representation Rep = double> using mil = units::isq::si::length<units::isq::si::international::mil, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::international::inline length
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -49,3 +49,13 @@ constexpr auto operator"" _q_mi_per_h(long double l) { return si::speed<mile_per
|
||||
#endif // UNITS_LITERALS
|
||||
|
||||
} // namespace units::isq::si::international
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::international::inline speed {
|
||||
|
||||
template<Representation Rep = double> using mi_per_h = units::isq::si::speed<units::isq::si::international::mile_per_hour, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::international::inline speed
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -66,3 +66,13 @@ using namespace volume_references;
|
||||
#endif // UNITS_REFERENCES
|
||||
|
||||
} // namespace units::isq::si::international
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::international::inline volume {
|
||||
|
||||
template<Representation Rep = double> using ft3 = units::isq::si::volume<units::isq::si::international::cubic_foot, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::international::inline volume
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -85,3 +85,16 @@ using namespace length_references;
|
||||
#endif // UNITS_REFERENCES
|
||||
|
||||
} // namespace units::isq::si::typographic
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::typographic::inline length {
|
||||
|
||||
template<Representation Rep = double> using pica_comp = units::isq::si::length<units::isq::si::typographic::pica_comp, Rep>;
|
||||
template<Representation Rep = double> using pica_prn = units::isq::si::length<units::isq::si::typographic::pica_prn, Rep>;
|
||||
template<Representation Rep = double> using point_comp = units::isq::si::length<units::isq::si::typographic::point_comp, Rep>;
|
||||
template<Representation Rep = double> using point_prn = units::isq::si::length<units::isq::si::typographic::point_prn, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::typographic::inline length
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -84,3 +84,15 @@ using namespace length_references;
|
||||
#endif // UNITS_REFERENCES
|
||||
|
||||
} // namespace units::isq::si::us
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::us::inline length {
|
||||
|
||||
template<Representation Rep = double> using ft = units::isq::si::length<units::isq::si::us::foot, Rep>;
|
||||
template<Representation Rep = double> using fathom = units::isq::si::length<units::isq::si::us::fathom, Rep>;
|
||||
template<Representation Rep = double> using mi = units::isq::si::length<units::isq::si::us::mile, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::us::inline length
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -191,3 +191,33 @@ using namespace absorbed_dose_references;
|
||||
#endif // UNITS_REFERENCES
|
||||
|
||||
} // namespace units::isq::si
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::inline absorbed_dose {
|
||||
|
||||
template<Representation Rep = double> using Gy = units::isq::si::absorbed_dose<units::isq::si::gray, Rep>;
|
||||
template<Representation Rep = double> using yGy = units::isq::si::absorbed_dose<units::isq::si::yoctogray, Rep>;
|
||||
template<Representation Rep = double> using zGy = units::isq::si::absorbed_dose<units::isq::si::zeptogray, Rep>;
|
||||
template<Representation Rep = double> using aGy = units::isq::si::absorbed_dose<units::isq::si::attogray, Rep>;
|
||||
template<Representation Rep = double> using fGy = units::isq::si::absorbed_dose<units::isq::si::femtogray, Rep>;
|
||||
template<Representation Rep = double> using pGy = units::isq::si::absorbed_dose<units::isq::si::picogray, Rep>;
|
||||
template<Representation Rep = double> using nGy = units::isq::si::absorbed_dose<units::isq::si::nanogray, Rep>;
|
||||
template<Representation Rep = double> using uGy = units::isq::si::absorbed_dose<units::isq::si::microgray, Rep>;
|
||||
template<Representation Rep = double> using mGy = units::isq::si::absorbed_dose<units::isq::si::milligray, Rep>;
|
||||
template<Representation Rep = double> using cGy = units::isq::si::absorbed_dose<units::isq::si::centigray, Rep>;
|
||||
template<Representation Rep = double> using dGy = units::isq::si::absorbed_dose<units::isq::si::decigray, Rep>;
|
||||
template<Representation Rep = double> using daGy = units::isq::si::absorbed_dose<units::isq::si::decagray, Rep>;
|
||||
template<Representation Rep = double> using hGy = units::isq::si::absorbed_dose<units::isq::si::hectogray, Rep>;
|
||||
template<Representation Rep = double> using kGy = units::isq::si::absorbed_dose<units::isq::si::kilogray, Rep>;
|
||||
template<Representation Rep = double> using MGy = units::isq::si::absorbed_dose<units::isq::si::megagray, Rep>;
|
||||
template<Representation Rep = double> using GGy = units::isq::si::absorbed_dose<units::isq::si::gigagray, Rep>;
|
||||
template<Representation Rep = double> using TGy = units::isq::si::absorbed_dose<units::isq::si::teragray, Rep>;
|
||||
template<Representation Rep = double> using PGy = units::isq::si::absorbed_dose<units::isq::si::petagray, Rep>;
|
||||
template<Representation Rep = double> using EGy = units::isq::si::absorbed_dose<units::isq::si::exagray, Rep>;
|
||||
template<Representation Rep = double> using ZGy = units::isq::si::absorbed_dose<units::isq::si::zettagray, Rep>;
|
||||
template<Representation Rep = double> using YGy = units::isq::si::absorbed_dose<units::isq::si::yottagray, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::inline absorbed_dose
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -52,3 +52,13 @@ constexpr auto operator"" _q_m_per_s2(long double l) { return acceleration<metre
|
||||
#endif // UNITS_LITERALS
|
||||
|
||||
} // namespace units::isq::si
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::inline acceleration {
|
||||
|
||||
template<Representation Rep = double> using m_per_s2 = units::isq::si::acceleration<units::isq::si::metre_per_second_sq, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::inline acceleration
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -70,3 +70,13 @@ using namespace amount_of_substance_references;
|
||||
#endif // UNITS_REFERENCES
|
||||
|
||||
} // namespace units::isq::si
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::inline amount_of_substance {
|
||||
|
||||
template<Representation Rep = double> using mol = units::isq::si::amount_of_substance<units::isq::si::mole, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::inline amount_of_substance
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -54,3 +54,13 @@ constexpr auto operator"" _q_rad_per_s(long double l) { return angular_velocity<
|
||||
#endif // UNITS_LITERALS
|
||||
|
||||
} // namespace units::isq::si
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::inline angular_velocity {
|
||||
|
||||
template<Representation Rep = double> using rad_per_s = units::isq::si::angular_velocity<units::isq::si::radian_per_second, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::inline angular_velocity
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -184,6 +184,7 @@ inline constexpr auto Pm2 = reference<dim_area, square_petametre>{};
|
||||
inline constexpr auto Em2 = reference<dim_area, square_exametre>{};
|
||||
inline constexpr auto Zm2 = reference<dim_area, square_zettametre>{};
|
||||
inline constexpr auto Ym2 = reference<dim_area, square_yottametre>{};
|
||||
|
||||
inline constexpr auto ha = reference<dim_area, hectare>{};
|
||||
|
||||
} // namespace area_references
|
||||
@@ -197,3 +198,35 @@ using namespace area_references;
|
||||
#endif // UNITS_REFERENCES
|
||||
|
||||
} // namespace units::isq::si
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::inline area {
|
||||
|
||||
template<Representation Rep = double> using m2 = units::isq::si::area<units::isq::si::square_metre, Rep>;
|
||||
template<Representation Rep = double> using ym2 = units::isq::si::area<units::isq::si::square_yoctometre, Rep>;
|
||||
template<Representation Rep = double> using zm2 = units::isq::si::area<units::isq::si::square_zeptometre, Rep>;
|
||||
template<Representation Rep = double> using am2 = units::isq::si::area<units::isq::si::square_attometre, Rep>;
|
||||
template<Representation Rep = double> using fm2 = units::isq::si::area<units::isq::si::square_femtometre, Rep>;
|
||||
template<Representation Rep = double> using pm2 = units::isq::si::area<units::isq::si::square_picometre, Rep>;
|
||||
template<Representation Rep = double> using nm2 = units::isq::si::area<units::isq::si::square_nanometre, Rep>;
|
||||
template<Representation Rep = double> using um2 = units::isq::si::area<units::isq::si::square_micrometre, Rep>;
|
||||
template<Representation Rep = double> using mm2 = units::isq::si::area<units::isq::si::square_millimetre, Rep>;
|
||||
template<Representation Rep = double> using cm2 = units::isq::si::area<units::isq::si::square_centimetre, Rep>;
|
||||
template<Representation Rep = double> using dm2 = units::isq::si::area<units::isq::si::square_decimetre, Rep>;
|
||||
template<Representation Rep = double> using dam2 = units::isq::si::area<units::isq::si::square_decametre, Rep>;
|
||||
template<Representation Rep = double> using hm2 = units::isq::si::area<units::isq::si::square_hectometre, Rep>;
|
||||
template<Representation Rep = double> using km2 = units::isq::si::area<units::isq::si::square_kilometre, Rep>;
|
||||
template<Representation Rep = double> using Mm2 = units::isq::si::area<units::isq::si::square_megametre, Rep>;
|
||||
template<Representation Rep = double> using Gm2 = units::isq::si::area<units::isq::si::square_gigametre, Rep>;
|
||||
template<Representation Rep = double> using Tm2 = units::isq::si::area<units::isq::si::square_terametre, Rep>;
|
||||
template<Representation Rep = double> using Pm2 = units::isq::si::area<units::isq::si::square_petametre, Rep>;
|
||||
template<Representation Rep = double> using Em2 = units::isq::si::area<units::isq::si::square_exametre, Rep>;
|
||||
template<Representation Rep = double> using Zm2 = units::isq::si::area<units::isq::si::square_zettametre, Rep>;
|
||||
template<Representation Rep = double> using Ym2 = units::isq::si::area<units::isq::si::square_yottametre, Rep>;
|
||||
|
||||
template<Representation Rep = double> using ha = units::isq::si::area<units::isq::si::hectare, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::inline area
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -192,3 +192,33 @@ using namespace capacitance_references;
|
||||
#endif // UNITS_REFERENCES
|
||||
|
||||
} // namespace units::isq::si
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::inline capacitance {
|
||||
|
||||
template<Representation Rep = double> using F = units::isq::si::capacitance<units::isq::si::farad, Rep>;
|
||||
template<Representation Rep = double> using yF = units::isq::si::capacitance<units::isq::si::yoctofarad, Rep>;
|
||||
template<Representation Rep = double> using zF = units::isq::si::capacitance<units::isq::si::zeptofarad, Rep>;
|
||||
template<Representation Rep = double> using aF = units::isq::si::capacitance<units::isq::si::attofarad, Rep>;
|
||||
template<Representation Rep = double> using fF = units::isq::si::capacitance<units::isq::si::femtofarad, Rep>;
|
||||
template<Representation Rep = double> using pF = units::isq::si::capacitance<units::isq::si::picofarad, Rep>;
|
||||
template<Representation Rep = double> using nF = units::isq::si::capacitance<units::isq::si::nanofarad, Rep>;
|
||||
template<Representation Rep = double> using uF = units::isq::si::capacitance<units::isq::si::microfarad, Rep>;
|
||||
template<Representation Rep = double> using mF = units::isq::si::capacitance<units::isq::si::millifarad, Rep>;
|
||||
template<Representation Rep = double> using cF = units::isq::si::capacitance<units::isq::si::centifarad, Rep>;
|
||||
template<Representation Rep = double> using dF = units::isq::si::capacitance<units::isq::si::decifarad, Rep>;
|
||||
template<Representation Rep = double> using daF = units::isq::si::capacitance<units::isq::si::decafarad, Rep>;
|
||||
template<Representation Rep = double> using hF = units::isq::si::capacitance<units::isq::si::hectofarad, Rep>;
|
||||
template<Representation Rep = double> using kF = units::isq::si::capacitance<units::isq::si::kilofarad, Rep>;
|
||||
template<Representation Rep = double> using MF = units::isq::si::capacitance<units::isq::si::megafarad, Rep>;
|
||||
template<Representation Rep = double> using GF = units::isq::si::capacitance<units::isq::si::gigafarad, Rep>;
|
||||
template<Representation Rep = double> using TF = units::isq::si::capacitance<units::isq::si::terafarad, Rep>;
|
||||
template<Representation Rep = double> using PF = units::isq::si::capacitance<units::isq::si::petafarad, Rep>;
|
||||
template<Representation Rep = double> using EF = units::isq::si::capacitance<units::isq::si::exafarad, Rep>;
|
||||
template<Representation Rep = double> using ZF = units::isq::si::capacitance<units::isq::si::zettafarad, Rep>;
|
||||
template<Representation Rep = double> using YF = units::isq::si::capacitance<units::isq::si::yottafarad, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::inline capacitance
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -188,7 +188,7 @@ inline constexpr auto Zkat = reference<dim_catalytic_activity, zettakatal>{};
|
||||
inline constexpr auto Ykat = reference<dim_catalytic_activity, yottakatal>{};
|
||||
inline constexpr auto U = reference<dim_catalytic_activity, enzyme_unit>{};
|
||||
|
||||
}
|
||||
} // namespace catalytic_activity_references
|
||||
|
||||
namespace references {
|
||||
|
||||
@@ -199,3 +199,34 @@ using namespace catalytic_activity_references;
|
||||
#endif // UNITS_REFERENCES
|
||||
|
||||
} // namespace units::isq::si
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::inline catalytic_activity {
|
||||
|
||||
template<Representation Rep = double> using kat = units::isq::si::catalytic_activity<units::isq::si::katal, Rep>;
|
||||
template<Representation Rep = double> using ykat = units::isq::si::catalytic_activity<units::isq::si::yoctokatal, Rep>;
|
||||
template<Representation Rep = double> using zkat = units::isq::si::catalytic_activity<units::isq::si::zeptokatal, Rep>;
|
||||
template<Representation Rep = double> using akat = units::isq::si::catalytic_activity<units::isq::si::attokatal, Rep>;
|
||||
template<Representation Rep = double> using fkat = units::isq::si::catalytic_activity<units::isq::si::femtokatal, Rep>;
|
||||
template<Representation Rep = double> using pkat = units::isq::si::catalytic_activity<units::isq::si::picokatal, Rep>;
|
||||
template<Representation Rep = double> using nkat = units::isq::si::catalytic_activity<units::isq::si::nanokatal, Rep>;
|
||||
template<Representation Rep = double> using ukat = units::isq::si::catalytic_activity<units::isq::si::microkatal, Rep>;
|
||||
template<Representation Rep = double> using mkat = units::isq::si::catalytic_activity<units::isq::si::millikatal, Rep>;
|
||||
template<Representation Rep = double> using ckat = units::isq::si::catalytic_activity<units::isq::si::centikatal, Rep>;
|
||||
template<Representation Rep = double> using dkat = units::isq::si::catalytic_activity<units::isq::si::decikatal, Rep>;
|
||||
template<Representation Rep = double> using dakat = units::isq::si::catalytic_activity<units::isq::si::decakatal, Rep>;
|
||||
template<Representation Rep = double> using hkat = units::isq::si::catalytic_activity<units::isq::si::hectokatal, Rep>;
|
||||
template<Representation Rep = double> using kkat = units::isq::si::catalytic_activity<units::isq::si::kilokatal, Rep>;
|
||||
template<Representation Rep = double> using Mkat = units::isq::si::catalytic_activity<units::isq::si::megakatal, Rep>;
|
||||
template<Representation Rep = double> using Gkat = units::isq::si::catalytic_activity<units::isq::si::gigakatal, Rep>;
|
||||
template<Representation Rep = double> using Tkat = units::isq::si::catalytic_activity<units::isq::si::terakatal, Rep>;
|
||||
template<Representation Rep = double> using Pkat = units::isq::si::catalytic_activity<units::isq::si::petakatal, Rep>;
|
||||
template<Representation Rep = double> using Ekat = units::isq::si::catalytic_activity<units::isq::si::exakatal, Rep>;
|
||||
template<Representation Rep = double> using Zkat = units::isq::si::catalytic_activity<units::isq::si::zettakatal, Rep>;
|
||||
template<Representation Rep = double> using Ykat = units::isq::si::catalytic_activity<units::isq::si::yottakatal, Rep>;
|
||||
template<Representation Rep = double> using U = units::isq::si::catalytic_activity<units::isq::si::enzyme_unit, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::inline catalytic_activity
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -64,3 +64,14 @@ constexpr auto operator"" _q_C_per_m2(long double l) { return surface_charge_den
|
||||
#endif // UNITS_LITERALS
|
||||
|
||||
} // namespace units::isq::si
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::inline charge_density {
|
||||
|
||||
template<Representation Rep = double> using C_per_m3 = units::isq::si::charge_density<units::isq::si::coulomb_per_metre_cub, Rep>;
|
||||
template<Representation Rep = double> using C_per_m2 = units::isq::si::surface_charge_density<units::isq::si::coulomb_per_metre_sq, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::inline charge_density
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -54,3 +54,12 @@ constexpr auto operator"" _q_mol_per_m3(long double l) { return concentration<mo
|
||||
|
||||
} // namespace units::isq::si
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::inline concentration {
|
||||
|
||||
template<Representation Rep = double> using mol_per_m3 = units::isq::si::concentration<units::isq::si::mol_per_metre_cub, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::inline concentration
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -168,3 +168,28 @@ using namespace conductance_references;
|
||||
|
||||
} // namespace units::isq::si
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::inline conductance {
|
||||
|
||||
template<Representation Rep = double> using S = units::isq::si::conductance<units::isq::si::siemens, Rep>;
|
||||
template<Representation Rep = double> using yS = units::isq::si::conductance<units::isq::si::yoctosiemens, Rep>;
|
||||
template<Representation Rep = double> using zS = units::isq::si::conductance<units::isq::si::zeptosiemens, Rep>;
|
||||
template<Representation Rep = double> using aS = units::isq::si::conductance<units::isq::si::attosiemens, Rep>;
|
||||
template<Representation Rep = double> using fS = units::isq::si::conductance<units::isq::si::femtosiemens, Rep>;
|
||||
template<Representation Rep = double> using pS = units::isq::si::conductance<units::isq::si::picosiemens, Rep>;
|
||||
template<Representation Rep = double> using nS = units::isq::si::conductance<units::isq::si::nanosiemens, Rep>;
|
||||
template<Representation Rep = double> using uS = units::isq::si::conductance<units::isq::si::microsiemens, Rep>;
|
||||
template<Representation Rep = double> using mS = units::isq::si::conductance<units::isq::si::millisiemens, Rep>;
|
||||
template<Representation Rep = double> using kS = units::isq::si::conductance<units::isq::si::kilosiemens, Rep>;
|
||||
template<Representation Rep = double> using MS = units::isq::si::conductance<units::isq::si::megasiemens, Rep>;
|
||||
template<Representation Rep = double> using GS = units::isq::si::conductance<units::isq::si::gigasiemens, Rep>;
|
||||
template<Representation Rep = double> using TS = units::isq::si::conductance<units::isq::si::terasiemens, Rep>;
|
||||
template<Representation Rep = double> using PS = units::isq::si::conductance<units::isq::si::petasiemens, Rep>;
|
||||
template<Representation Rep = double> using ES = units::isq::si::conductance<units::isq::si::exasiemens, Rep>;
|
||||
template<Representation Rep = double> using ZS = units::isq::si::conductance<units::isq::si::zettasiemens, Rep>;
|
||||
template<Representation Rep = double> using YS = units::isq::si::conductance<units::isq::si::yottasiemens, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::inline conductance
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -55,3 +55,13 @@ constexpr auto operator"" _q_A_per_m2(long double l) { return current_density<am
|
||||
#endif // UNITS_LITERALS
|
||||
|
||||
} // namespace units::isq::si
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::inline current_density {
|
||||
|
||||
template<Representation Rep = double> using A_per_m2 = units::isq::si::current_density<units::isq::si::ampere_per_metre_sq, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::inline current_density
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -55,3 +55,13 @@ constexpr auto operator"" _q_kg_per_m3(long double l) { return density<kilogram_
|
||||
#endif // UNITS_LITERALS
|
||||
|
||||
} // namespace units::isq::si
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::inline density {
|
||||
|
||||
template<Representation Rep = double> using kg_per_m3 = units::isq::si::density<units::isq::si::kilogram_per_metre_cub, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::inline density
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -54,3 +54,12 @@ constexpr auto operator"" _q_Pa_s(long double l) { return dynamic_viscosity<pasc
|
||||
|
||||
} // namespace units::isq::si
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::inline dynamic_viscosity {
|
||||
|
||||
template<Representation Rep = double> using Pa_s = units::isq::si::dynamic_viscosity<units::isq::si::pascal_second, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::inline dynamic_viscosity
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -71,3 +71,13 @@ using namespace electric_charge_references;
|
||||
#endif // UNITS_REFERENCES
|
||||
|
||||
} // namespace units::isq::si
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::inline electric_charge {
|
||||
|
||||
template<Representation Rep = double> using C = units::isq::si::electric_charge<units::isq::si::coulomb, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::inline electric_charge
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -190,3 +190,33 @@ using namespace electric_current_references;
|
||||
#endif // UNITS_REFERENCES
|
||||
|
||||
} // namespace units::isq::si
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::inline electric_current {
|
||||
|
||||
template<Representation Rep = double> using A = units::isq::si::electric_current<units::isq::si::ampere, Rep>;
|
||||
template<Representation Rep = double> using yA = units::isq::si::electric_current<units::isq::si::yoctoampere, Rep>;
|
||||
template<Representation Rep = double> using zA = units::isq::si::electric_current<units::isq::si::zeptoampere, Rep>;
|
||||
template<Representation Rep = double> using aA = units::isq::si::electric_current<units::isq::si::attoampere, Rep>;
|
||||
template<Representation Rep = double> using fA = units::isq::si::electric_current<units::isq::si::femtoampere, Rep>;
|
||||
template<Representation Rep = double> using pA = units::isq::si::electric_current<units::isq::si::picoampere, Rep>;
|
||||
template<Representation Rep = double> using nA = units::isq::si::electric_current<units::isq::si::nanoampere, Rep>;
|
||||
template<Representation Rep = double> using uA = units::isq::si::electric_current<units::isq::si::microampere, Rep>;
|
||||
template<Representation Rep = double> using mA = units::isq::si::electric_current<units::isq::si::milliampere, Rep>;
|
||||
template<Representation Rep = double> using cA = units::isq::si::electric_current<units::isq::si::centiampere, Rep>;
|
||||
template<Representation Rep = double> using dA = units::isq::si::electric_current<units::isq::si::deciampere, Rep>;
|
||||
template<Representation Rep = double> using daA = units::isq::si::electric_current<units::isq::si::decaampere, Rep>;
|
||||
template<Representation Rep = double> using hA = units::isq::si::electric_current<units::isq::si::hectoampere, Rep>;
|
||||
template<Representation Rep = double> using kA = units::isq::si::electric_current<units::isq::si::kiloampere, Rep>;
|
||||
template<Representation Rep = double> using MA = units::isq::si::electric_current<units::isq::si::megaampere, Rep>;
|
||||
template<Representation Rep = double> using GA = units::isq::si::electric_current<units::isq::si::gigaampere, Rep>;
|
||||
template<Representation Rep = double> using TA = units::isq::si::electric_current<units::isq::si::teraampere, Rep>;
|
||||
template<Representation Rep = double> using PA = units::isq::si::electric_current<units::isq::si::petaampere, Rep>;
|
||||
template<Representation Rep = double> using EA = units::isq::si::electric_current<units::isq::si::exaampere, Rep>;
|
||||
template<Representation Rep = double> using ZA = units::isq::si::electric_current<units::isq::si::zettaampere, Rep>;
|
||||
template<Representation Rep = double> using YA = units::isq::si::electric_current<units::isq::si::yottaampere, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::inline electric_current
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -52,3 +52,13 @@ constexpr auto operator"" _q_V_per_m(long double l) { return electric_field_stre
|
||||
#endif // UNITS_LITERALS
|
||||
|
||||
} // namespace units::isq::si
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::inline electric_field_strength {
|
||||
|
||||
template<Representation Rep = double> using V_per_m = units::isq::si::electric_field_strength<units::isq::si::volt_per_metre, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::inline electric_field_strength
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -181,3 +181,32 @@ using namespace energy_references;
|
||||
#endif // UNITS_REFERENCES
|
||||
|
||||
} // namespace units::isq::si
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::inline energy {
|
||||
|
||||
template<Representation Rep = double> using J = units::isq::si::energy<units::isq::si::joule, Rep>;
|
||||
template<Representation Rep = double> using yJ = units::isq::si::energy<units::isq::si::yoctojoule, Rep>;
|
||||
template<Representation Rep = double> using zJ = units::isq::si::energy<units::isq::si::zeptojoule, Rep>;
|
||||
template<Representation Rep = double> using aJ = units::isq::si::energy<units::isq::si::attojoule, Rep>;
|
||||
template<Representation Rep = double> using fJ = units::isq::si::energy<units::isq::si::femtojoule, Rep>;
|
||||
template<Representation Rep = double> using pJ = units::isq::si::energy<units::isq::si::picojoule, Rep>;
|
||||
template<Representation Rep = double> using nJ = units::isq::si::energy<units::isq::si::nanojoule, Rep>;
|
||||
template<Representation Rep = double> using uJ = units::isq::si::energy<units::isq::si::microjoule, Rep>;
|
||||
template<Representation Rep = double> using mJ = units::isq::si::energy<units::isq::si::millijoule, Rep>;
|
||||
template<Representation Rep = double> using kJ = units::isq::si::energy<units::isq::si::kilojoule, Rep>;
|
||||
template<Representation Rep = double> using MJ = units::isq::si::energy<units::isq::si::megajoule, Rep>;
|
||||
template<Representation Rep = double> using GJ = units::isq::si::energy<units::isq::si::gigajoule, Rep>;
|
||||
template<Representation Rep = double> using TJ = units::isq::si::energy<units::isq::si::terajoule, Rep>;
|
||||
template<Representation Rep = double> using PJ = units::isq::si::energy<units::isq::si::petajoule, Rep>;
|
||||
template<Representation Rep = double> using EJ = units::isq::si::energy<units::isq::si::exajoule, Rep>;
|
||||
template<Representation Rep = double> using ZJ = units::isq::si::energy<units::isq::si::zettajoule, Rep>;
|
||||
template<Representation Rep = double> using YJ = units::isq::si::energy<units::isq::si::yottajoule, Rep>;
|
||||
|
||||
template<Representation Rep = double> using eV = units::isq::si::energy<units::isq::si::electronvolt, Rep>;
|
||||
template<Representation Rep = double> using GeV = units::isq::si::energy<units::isq::si::gigaelectronvolt, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::inline energy
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -53,3 +53,13 @@ constexpr auto operator"" _q_J_per_m3(long double l) { return energy_density<jou
|
||||
#endif // UNITS_LITERALS
|
||||
|
||||
} // namespace units::isq::si
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::inline energy_density {
|
||||
|
||||
template<Representation Rep = double> using J_per_m3 = units::isq::si::energy_density<units::isq::si::joule_per_metre_cub, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::inline energy_density
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -192,3 +192,33 @@ using namespace force_references;
|
||||
#endif // UNITS_REFERENCES
|
||||
|
||||
} // namespace units::isq::si
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::inline force {
|
||||
|
||||
template<Representation Rep = double> using N = units::isq::si::force<units::isq::si::newton, Rep>;
|
||||
template<Representation Rep = double> using yN = units::isq::si::force<units::isq::si::yoctonewton, Rep>;
|
||||
template<Representation Rep = double> using zN = units::isq::si::force<units::isq::si::zeptonewton, Rep>;
|
||||
template<Representation Rep = double> using aN = units::isq::si::force<units::isq::si::attonewton, Rep>;
|
||||
template<Representation Rep = double> using fN = units::isq::si::force<units::isq::si::femtonewton, Rep>;
|
||||
template<Representation Rep = double> using pN = units::isq::si::force<units::isq::si::piconewton, Rep>;
|
||||
template<Representation Rep = double> using nN = units::isq::si::force<units::isq::si::nanonewton, Rep>;
|
||||
template<Representation Rep = double> using uN = units::isq::si::force<units::isq::si::micronewton, Rep>;
|
||||
template<Representation Rep = double> using mN = units::isq::si::force<units::isq::si::millinewton, Rep>;
|
||||
template<Representation Rep = double> using cN = units::isq::si::force<units::isq::si::centinewton, Rep>;
|
||||
template<Representation Rep = double> using dN = units::isq::si::force<units::isq::si::decinewton, Rep>;
|
||||
template<Representation Rep = double> using daN = units::isq::si::force<units::isq::si::decanewton, Rep>;
|
||||
template<Representation Rep = double> using hN = units::isq::si::force<units::isq::si::hectonewton, Rep>;
|
||||
template<Representation Rep = double> using kN = units::isq::si::force<units::isq::si::kilonewton, Rep>;
|
||||
template<Representation Rep = double> using MN = units::isq::si::force<units::isq::si::meganewton, Rep>;
|
||||
template<Representation Rep = double> using GN = units::isq::si::force<units::isq::si::giganewton, Rep>;
|
||||
template<Representation Rep = double> using TN = units::isq::si::force<units::isq::si::teranewton, Rep>;
|
||||
template<Representation Rep = double> using PN = units::isq::si::force<units::isq::si::petanewton, Rep>;
|
||||
template<Representation Rep = double> using EN = units::isq::si::force<units::isq::si::exanewton, Rep>;
|
||||
template<Representation Rep = double> using ZN = units::isq::si::force<units::isq::si::zettanewton, Rep>;
|
||||
template<Representation Rep = double> using YN = units::isq::si::force<units::isq::si::yottanewton, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::inline force
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -166,3 +166,29 @@ using namespace frequency_references;
|
||||
#endif // UNITS_REFERENCES
|
||||
|
||||
} // namespace units::isq::si
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::inline frequency {
|
||||
|
||||
template<Representation Rep = double> using Hz = units::isq::si::frequency<units::isq::si::hertz, Rep>;
|
||||
template<Representation Rep = double> using yHz = units::isq::si::frequency<units::isq::si::yoctohertz, Rep>;
|
||||
template<Representation Rep = double> using zHz = units::isq::si::frequency<units::isq::si::zeptohertz, Rep>;
|
||||
template<Representation Rep = double> using aHz = units::isq::si::frequency<units::isq::si::attohertz, Rep>;
|
||||
template<Representation Rep = double> using fHz = units::isq::si::frequency<units::isq::si::femtohertz, Rep>;
|
||||
template<Representation Rep = double> using pHz = units::isq::si::frequency<units::isq::si::picohertz, Rep>;
|
||||
template<Representation Rep = double> using nHz = units::isq::si::frequency<units::isq::si::nanohertz, Rep>;
|
||||
template<Representation Rep = double> using uHz = units::isq::si::frequency<units::isq::si::microhertz, Rep>;
|
||||
template<Representation Rep = double> using mHz = units::isq::si::frequency<units::isq::si::millihertz, Rep>;
|
||||
template<Representation Rep = double> using kHz = units::isq::si::frequency<units::isq::si::kilohertz, Rep>;
|
||||
template<Representation Rep = double> using MHz = units::isq::si::frequency<units::isq::si::megahertz, Rep>;
|
||||
template<Representation Rep = double> using GHz = units::isq::si::frequency<units::isq::si::gigahertz, Rep>;
|
||||
template<Representation Rep = double> using THz = units::isq::si::frequency<units::isq::si::terahertz, Rep>;
|
||||
template<Representation Rep = double> using PHz = units::isq::si::frequency<units::isq::si::petahertz, Rep>;
|
||||
template<Representation Rep = double> using EHz = units::isq::si::frequency<units::isq::si::exahertz, Rep>;
|
||||
template<Representation Rep = double> using ZHz = units::isq::si::frequency<units::isq::si::zettahertz, Rep>;
|
||||
template<Representation Rep = double> using YHz = units::isq::si::frequency<units::isq::si::yottahertz, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::inline frequency
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -75,3 +75,14 @@ constexpr auto operator"" _q_J_per_mol_K(long double l) { return molar_heat_capa
|
||||
|
||||
} // namespace units::isq::si
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::heat_capacity {
|
||||
|
||||
template<Representation Rep = double> using J_per_K = units::isq::si::heat_capacity<units::isq::si::joule_per_kelvin, Rep>;
|
||||
template<Representation Rep = double> using J_per_kg_K = units::isq::si::specific_heat_capacity<units::isq::si::joule_per_kilogram_kelvin, Rep>;
|
||||
template<Representation Rep = double> using J_per_mol_K = units::isq::si::molar_heat_capacity<units::isq::si::joule_per_mole_kelvin, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::heat_capacity
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -168,3 +168,29 @@ using namespace inductance_references;
|
||||
#endif // UNITS_REFERENCES
|
||||
|
||||
} // namespace units::isq::si
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::inline inductance {
|
||||
|
||||
template<Representation Rep = double> using H = units::isq::si::inductance<units::isq::si::henry, Rep>;
|
||||
template<Representation Rep = double> using yH = units::isq::si::inductance<units::isq::si::yoctohenry, Rep>;
|
||||
template<Representation Rep = double> using zH = units::isq::si::inductance<units::isq::si::zeptohenry, Rep>;
|
||||
template<Representation Rep = double> using aH = units::isq::si::inductance<units::isq::si::attohenry, Rep>;
|
||||
template<Representation Rep = double> using fH = units::isq::si::inductance<units::isq::si::femtohenry, Rep>;
|
||||
template<Representation Rep = double> using pH = units::isq::si::inductance<units::isq::si::picohenry, Rep>;
|
||||
template<Representation Rep = double> using nH = units::isq::si::inductance<units::isq::si::nanohenry, Rep>;
|
||||
template<Representation Rep = double> using uH = units::isq::si::inductance<units::isq::si::microhenry, Rep>;
|
||||
template<Representation Rep = double> using mH = units::isq::si::inductance<units::isq::si::millihenry, Rep>;
|
||||
template<Representation Rep = double> using kH = units::isq::si::inductance<units::isq::si::kilohenry, Rep>;
|
||||
template<Representation Rep = double> using MH = units::isq::si::inductance<units::isq::si::megahenry, Rep>;
|
||||
template<Representation Rep = double> using GH = units::isq::si::inductance<units::isq::si::gigahenry, Rep>;
|
||||
template<Representation Rep = double> using TH = units::isq::si::inductance<units::isq::si::terahenry, Rep>;
|
||||
template<Representation Rep = double> using PH = units::isq::si::inductance<units::isq::si::petahenry, Rep>;
|
||||
template<Representation Rep = double> using EH = units::isq::si::inductance<units::isq::si::exahenry, Rep>;
|
||||
template<Representation Rep = double> using ZH = units::isq::si::inductance<units::isq::si::zettahenry, Rep>;
|
||||
template<Representation Rep = double> using YH = units::isq::si::inductance<units::isq::si::yottahenry, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::inline inductance
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -197,3 +197,34 @@ using namespace length_references;
|
||||
#endif // UNITS_REFERENCES
|
||||
|
||||
} // namespace units::isq::si
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::inline length {
|
||||
|
||||
template<Representation Rep = double> using m = units::isq::si::length<units::isq::si::metre, Rep>;
|
||||
template<Representation Rep = double> using ym = units::isq::si::length<units::isq::si::yoctometre, Rep>;
|
||||
template<Representation Rep = double> using zm = units::isq::si::length<units::isq::si::zeptometre, Rep>;
|
||||
template<Representation Rep = double> using am = units::isq::si::length<units::isq::si::attometre, Rep>;
|
||||
template<Representation Rep = double> using fm = units::isq::si::length<units::isq::si::femtometre, Rep>;
|
||||
template<Representation Rep = double> using pm = units::isq::si::length<units::isq::si::picometre, Rep>;
|
||||
template<Representation Rep = double> using nm = units::isq::si::length<units::isq::si::nanometre, Rep>;
|
||||
template<Representation Rep = double> using um = units::isq::si::length<units::isq::si::micrometre, Rep>;
|
||||
template<Representation Rep = double> using mm = units::isq::si::length<units::isq::si::millimetre, Rep>;
|
||||
template<Representation Rep = double> using cm = units::isq::si::length<units::isq::si::centimetre, Rep>;
|
||||
template<Representation Rep = double> using dm = units::isq::si::length<units::isq::si::decimetre, Rep>;
|
||||
template<Representation Rep = double> using dam = units::isq::si::length<units::isq::si::decametre, Rep>;
|
||||
template<Representation Rep = double> using hm = units::isq::si::length<units::isq::si::hectometre, Rep>;
|
||||
template<Representation Rep = double> using km = units::isq::si::length<units::isq::si::kilometre, Rep>;
|
||||
template<Representation Rep = double> using Mm = units::isq::si::length<units::isq::si::megametre, Rep>;
|
||||
template<Representation Rep = double> using Gm = units::isq::si::length<units::isq::si::gigametre, Rep>;
|
||||
template<Representation Rep = double> using Tm = units::isq::si::length<units::isq::si::terametre, Rep>;
|
||||
template<Representation Rep = double> using Pm = units::isq::si::length<units::isq::si::petametre, Rep>;
|
||||
template<Representation Rep = double> using Em = units::isq::si::length<units::isq::si::exametre, Rep>;
|
||||
template<Representation Rep = double> using Zm = units::isq::si::length<units::isq::si::zettametre, Rep>;
|
||||
template<Representation Rep = double> using Ym = units::isq::si::length<units::isq::si::yottametre, Rep>;
|
||||
template<Representation Rep = double> using au = units::isq::si::length<units::isq::si::astronomical_unit, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::inline length
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -54,3 +54,12 @@ constexpr auto operator"" _q_cd_per_m2(long double l) { return luminance<candela
|
||||
|
||||
} // namespace units::isq::si
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::inline luminance {
|
||||
|
||||
template<Representation Rep = double> using cd_per_m2 = units::isq::si::luminance<units::isq::si::candela_per_metre_sq, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::inline luminance
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -190,3 +190,33 @@ using namespace luminous_intensity_references;
|
||||
#endif // UNITS_REFERENCES
|
||||
|
||||
} // namespace units::isq::si
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::luminous_intensity {
|
||||
|
||||
template<Representation Rep = double> using cd = units::isq::si::luminous_intensity<units::isq::si::candela, Rep>;
|
||||
template<Representation Rep = double> using ycd = units::isq::si::luminous_intensity<units::isq::si::yoctocandela, Rep>;
|
||||
template<Representation Rep = double> using zcd = units::isq::si::luminous_intensity<units::isq::si::zeptocandela, Rep>;
|
||||
template<Representation Rep = double> using acd = units::isq::si::luminous_intensity<units::isq::si::attocandela, Rep>;
|
||||
template<Representation Rep = double> using fcd = units::isq::si::luminous_intensity<units::isq::si::femtocandela, Rep>;
|
||||
template<Representation Rep = double> using pcd = units::isq::si::luminous_intensity<units::isq::si::picocandela, Rep>;
|
||||
template<Representation Rep = double> using ncd = units::isq::si::luminous_intensity<units::isq::si::nanocandela, Rep>;
|
||||
template<Representation Rep = double> using ucd = units::isq::si::luminous_intensity<units::isq::si::microcandela, Rep>;
|
||||
template<Representation Rep = double> using mcd = units::isq::si::luminous_intensity<units::isq::si::millicandela, Rep>;
|
||||
template<Representation Rep = double> using ccd = units::isq::si::luminous_intensity<units::isq::si::centicandela, Rep>;
|
||||
template<Representation Rep = double> using dcd = units::isq::si::luminous_intensity<units::isq::si::decicandela, Rep>;
|
||||
template<Representation Rep = double> using dacd = units::isq::si::luminous_intensity<units::isq::si::decacandela, Rep>;
|
||||
template<Representation Rep = double> using hcd = units::isq::si::luminous_intensity<units::isq::si::hectocandela, Rep>;
|
||||
template<Representation Rep = double> using kcd = units::isq::si::luminous_intensity<units::isq::si::kilocandela, Rep>;
|
||||
template<Representation Rep = double> using Mcd = units::isq::si::luminous_intensity<units::isq::si::megacandela, Rep>;
|
||||
template<Representation Rep = double> using Gcd = units::isq::si::luminous_intensity<units::isq::si::gigacandela, Rep>;
|
||||
template<Representation Rep = double> using Tcd = units::isq::si::luminous_intensity<units::isq::si::teracandela, Rep>;
|
||||
template<Representation Rep = double> using Pcd = units::isq::si::luminous_intensity<units::isq::si::petacandela, Rep>;
|
||||
template<Representation Rep = double> using Ecd = units::isq::si::luminous_intensity<units::isq::si::exacandela, Rep>;
|
||||
template<Representation Rep = double> using Zcd = units::isq::si::luminous_intensity<units::isq::si::zettacandela, Rep>;
|
||||
template<Representation Rep = double> using Ycd = units::isq::si::luminous_intensity<units::isq::si::yottacandela, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::luminous_intensity
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -168,3 +168,29 @@ using namespace magnetic_flux_references;
|
||||
#endif // UNITS_REFERENCES
|
||||
|
||||
} // namespace units::isq::si
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::inline magnetic_flux {
|
||||
|
||||
template<Representation Rep = double> using Wb = units::isq::si::magnetic_flux<units::isq::si::weber, Rep>;
|
||||
template<Representation Rep = double> using yWb = units::isq::si::magnetic_flux<units::isq::si::yoctoweber, Rep>;
|
||||
template<Representation Rep = double> using zWb = units::isq::si::magnetic_flux<units::isq::si::zeptoweber, Rep>;
|
||||
template<Representation Rep = double> using aWb = units::isq::si::magnetic_flux<units::isq::si::attoweber, Rep>;
|
||||
template<Representation Rep = double> using fWb = units::isq::si::magnetic_flux<units::isq::si::femtoweber, Rep>;
|
||||
template<Representation Rep = double> using pWb = units::isq::si::magnetic_flux<units::isq::si::picoweber, Rep>;
|
||||
template<Representation Rep = double> using nWb = units::isq::si::magnetic_flux<units::isq::si::nanoweber, Rep>;
|
||||
template<Representation Rep = double> using uWb = units::isq::si::magnetic_flux<units::isq::si::microweber, Rep>;
|
||||
template<Representation Rep = double> using mWb = units::isq::si::magnetic_flux<units::isq::si::milliweber, Rep>;
|
||||
template<Representation Rep = double> using kWb = units::isq::si::magnetic_flux<units::isq::si::kiloweber, Rep>;
|
||||
template<Representation Rep = double> using MWb = units::isq::si::magnetic_flux<units::isq::si::megaweber, Rep>;
|
||||
template<Representation Rep = double> using GWb = units::isq::si::magnetic_flux<units::isq::si::gigaweber, Rep>;
|
||||
template<Representation Rep = double> using TWb = units::isq::si::magnetic_flux<units::isq::si::teraweber, Rep>;
|
||||
template<Representation Rep = double> using PWb = units::isq::si::magnetic_flux<units::isq::si::petaweber, Rep>;
|
||||
template<Representation Rep = double> using EWb = units::isq::si::magnetic_flux<units::isq::si::exaweber, Rep>;
|
||||
template<Representation Rep = double> using ZWb = units::isq::si::magnetic_flux<units::isq::si::zettaweber, Rep>;
|
||||
template<Representation Rep = double> using YWb = units::isq::si::magnetic_flux<units::isq::si::yottaweber, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::inline magnetic_flux
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -176,4 +176,31 @@ using namespace magnetic_induction_references;
|
||||
|
||||
#endif // UNITS_REFERENCES
|
||||
|
||||
} // namespace units
|
||||
} // namespace units::isq::si
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::inline magnetic_induction {
|
||||
|
||||
template<Representation Rep = double> using T = units::isq::si::magnetic_induction<units::isq::si::tesla, Rep>;
|
||||
template<Representation Rep = double> using yT = units::isq::si::magnetic_induction<units::isq::si::yoctotesla, Rep>;
|
||||
template<Representation Rep = double> using zT = units::isq::si::magnetic_induction<units::isq::si::zeptotesla, Rep>;
|
||||
template<Representation Rep = double> using aT = units::isq::si::magnetic_induction<units::isq::si::attotesla, Rep>;
|
||||
template<Representation Rep = double> using fT = units::isq::si::magnetic_induction<units::isq::si::femtotesla, Rep>;
|
||||
template<Representation Rep = double> using pT = units::isq::si::magnetic_induction<units::isq::si::picotesla, Rep>;
|
||||
template<Representation Rep = double> using nT = units::isq::si::magnetic_induction<units::isq::si::nanotesla, Rep>;
|
||||
template<Representation Rep = double> using uT = units::isq::si::magnetic_induction<units::isq::si::microtesla, Rep>;
|
||||
template<Representation Rep = double> using mT = units::isq::si::magnetic_induction<units::isq::si::millitesla, Rep>;
|
||||
template<Representation Rep = double> using kT = units::isq::si::magnetic_induction<units::isq::si::kilotesla, Rep>;
|
||||
template<Representation Rep = double> using MT = units::isq::si::magnetic_induction<units::isq::si::megatesla, Rep>;
|
||||
template<Representation Rep = double> using GT = units::isq::si::magnetic_induction<units::isq::si::gigatesla, Rep>;
|
||||
template<Representation Rep = double> using TT = units::isq::si::magnetic_induction<units::isq::si::teratesla, Rep>;
|
||||
template<Representation Rep = double> using PT = units::isq::si::magnetic_induction<units::isq::si::petatesla, Rep>;
|
||||
template<Representation Rep = double> using ET = units::isq::si::magnetic_induction<units::isq::si::exatesla, Rep>;
|
||||
template<Representation Rep = double> using ZT = units::isq::si::magnetic_induction<units::isq::si::zettatesla, Rep>;
|
||||
template<Representation Rep = double> using YT = units::isq::si::magnetic_induction<units::isq::si::yottatesla, Rep>;
|
||||
template<Representation Rep = double> using G = units::isq::si::magnetic_induction<units::isq::si::gauss, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::inline magnetic_induction
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -291,6 +291,7 @@ inline constexpr auto Pg = reference<dim_mass, petagram>{};
|
||||
inline constexpr auto Eg = reference<dim_mass, exagram>{};
|
||||
inline constexpr auto Zg = reference<dim_mass, zettagram>{};
|
||||
inline constexpr auto Yg = reference<dim_mass, yottagram>{};
|
||||
|
||||
inline constexpr auto t = reference<dim_mass, tonne>{};
|
||||
inline constexpr auto yt = reference<dim_mass, yoctotonne>{};
|
||||
inline constexpr auto zt = reference<dim_mass, zeptotonne>{};
|
||||
@@ -325,3 +326,56 @@ using namespace mass_references;
|
||||
#endif // UNITS_REFERENCES
|
||||
|
||||
} // namespace units::isq::si
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::inline mass {
|
||||
|
||||
template<Representation Rep = double> using g = units::isq::si::mass<units::isq::si::gram, Rep>;
|
||||
template<Representation Rep = double> using yg = units::isq::si::mass<units::isq::si::yoctogram, Rep>;
|
||||
template<Representation Rep = double> using zg = units::isq::si::mass<units::isq::si::zeptogram, Rep>;
|
||||
template<Representation Rep = double> using ag = units::isq::si::mass<units::isq::si::attogram, Rep>;
|
||||
template<Representation Rep = double> using fg = units::isq::si::mass<units::isq::si::femtogram, Rep>;
|
||||
template<Representation Rep = double> using pg = units::isq::si::mass<units::isq::si::picogram, Rep>;
|
||||
template<Representation Rep = double> using ng = units::isq::si::mass<units::isq::si::nanogram, Rep>;
|
||||
template<Representation Rep = double> using ug = units::isq::si::mass<units::isq::si::microgram, Rep>;
|
||||
template<Representation Rep = double> using mg = units::isq::si::mass<units::isq::si::milligram, Rep>;
|
||||
template<Representation Rep = double> using cg = units::isq::si::mass<units::isq::si::centigram, Rep>;
|
||||
template<Representation Rep = double> using dg = units::isq::si::mass<units::isq::si::decigram, Rep>;
|
||||
template<Representation Rep = double> using dag = units::isq::si::mass<units::isq::si::decagram, Rep>;
|
||||
template<Representation Rep = double> using hg = units::isq::si::mass<units::isq::si::hectogram, Rep>;
|
||||
template<Representation Rep = double> using kg = units::isq::si::mass<units::isq::si::kilogram, Rep>;
|
||||
template<Representation Rep = double> using Mg = units::isq::si::mass<units::isq::si::megagram, Rep>;
|
||||
template<Representation Rep = double> using Gg = units::isq::si::mass<units::isq::si::gigagram, Rep>;
|
||||
template<Representation Rep = double> using Tg = units::isq::si::mass<units::isq::si::teragram, Rep>;
|
||||
template<Representation Rep = double> using Pg = units::isq::si::mass<units::isq::si::petagram, Rep>;
|
||||
template<Representation Rep = double> using Eg = units::isq::si::mass<units::isq::si::exagram, Rep>;
|
||||
template<Representation Rep = double> using Zg = units::isq::si::mass<units::isq::si::zettagram, Rep>;
|
||||
template<Representation Rep = double> using Yg = units::isq::si::mass<units::isq::si::yottagram, Rep>;
|
||||
|
||||
template<Representation Rep = double> using t = units::isq::si::mass<units::isq::si::tonne, Rep>;
|
||||
template<Representation Rep = double> using yt = units::isq::si::mass<units::isq::si::yoctotonne, Rep>;
|
||||
template<Representation Rep = double> using zt = units::isq::si::mass<units::isq::si::zeptotonne, Rep>;
|
||||
template<Representation Rep = double> using at = units::isq::si::mass<units::isq::si::attotonne, Rep>;
|
||||
template<Representation Rep = double> using ft = units::isq::si::mass<units::isq::si::femtotonne, Rep>;
|
||||
template<Representation Rep = double> using pt = units::isq::si::mass<units::isq::si::picotonne, Rep>;
|
||||
template<Representation Rep = double> using nt = units::isq::si::mass<units::isq::si::nanotonne, Rep>;
|
||||
template<Representation Rep = double> using ut = units::isq::si::mass<units::isq::si::microtonne, Rep>;
|
||||
template<Representation Rep = double> using mt = units::isq::si::mass<units::isq::si::millitonne, Rep>;
|
||||
template<Representation Rep = double> using ct = units::isq::si::mass<units::isq::si::centitonne, Rep>;
|
||||
template<Representation Rep = double> using dt = units::isq::si::mass<units::isq::si::decitonne, Rep>;
|
||||
template<Representation Rep = double> using dat = units::isq::si::mass<units::isq::si::decatonne, Rep>;
|
||||
template<Representation Rep = double> using ht = units::isq::si::mass<units::isq::si::hectotonne, Rep>;
|
||||
template<Representation Rep = double> using kt = units::isq::si::mass<units::isq::si::kilotonne, Rep>;
|
||||
template<Representation Rep = double> using Mt = units::isq::si::mass<units::isq::si::megatonne, Rep>;
|
||||
template<Representation Rep = double> using Gt = units::isq::si::mass<units::isq::si::gigatonne, Rep>;
|
||||
template<Representation Rep = double> using Tt = units::isq::si::mass<units::isq::si::teratonne, Rep>;
|
||||
template<Representation Rep = double> using Pt = units::isq::si::mass<units::isq::si::petatonne, Rep>;
|
||||
template<Representation Rep = double> using Et = units::isq::si::mass<units::isq::si::exatonne, Rep>;
|
||||
template<Representation Rep = double> using Zt = units::isq::si::mass<units::isq::si::zettatonne, Rep>;
|
||||
template<Representation Rep = double> using Yt = units::isq::si::mass<units::isq::si::yottatonne, Rep>;
|
||||
template<Representation Rep = double> using Da = units::isq::si::mass<units::isq::si::dalton, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::inline mass
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -55,3 +55,13 @@ constexpr auto operator"" _q_J_per_mol(long double l) { return molar_energy<joul
|
||||
#endif // UNITS_LITERALS
|
||||
|
||||
} // namespace units::isq::si
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::inline molar_energy {
|
||||
|
||||
template<Representation Rep = double> using J_per_mol = units::isq::si::molar_energy<units::isq::si::joule_per_mole, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::inline molar_energy
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -53,3 +53,13 @@ constexpr auto operator"" _q_kg_m_per_s(long double l) { return momentum<kilogra
|
||||
#endif // UNITS_LITERALS
|
||||
|
||||
} // namespace units::isq::si
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::inline momentum {
|
||||
|
||||
template<Representation Rep = double> using kg_m_per_s = units::isq::si::momentum<units::isq::si::kilogram_metre_per_second, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::inline momentum
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -55,3 +55,12 @@ constexpr auto operator"" _q_H_per_m(long double l) { return permeability<henry_
|
||||
|
||||
} // namespace units::isq::si
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::inline permeability {
|
||||
|
||||
template<Representation Rep = double> using H_per_m = units::isq::si::permeability<units::isq::si::henry_per_metre, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::inline permeability
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -55,3 +55,12 @@ constexpr auto operator"" _q_F_per_m(long double l) { return permittivity<farad_
|
||||
|
||||
} // namespace units::isq::si
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::inline permittivity {
|
||||
|
||||
template<Representation Rep = double> using F_per_m = units::isq::si::permittivity<units::isq::si::farad_per_metre, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::inline permittivity
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -167,3 +167,29 @@ using namespace power_references;
|
||||
#endif // UNITS_REFERENCES
|
||||
|
||||
} // namespace units::isq::si
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::inline power {
|
||||
|
||||
template<Representation Rep = double> using W = units::isq::si::power<units::isq::si::watt, Rep>;
|
||||
template<Representation Rep = double> using yW = units::isq::si::power<units::isq::si::yoctowatt, Rep>;
|
||||
template<Representation Rep = double> using zW = units::isq::si::power<units::isq::si::zeptowatt, Rep>;
|
||||
template<Representation Rep = double> using aW = units::isq::si::power<units::isq::si::attowatt, Rep>;
|
||||
template<Representation Rep = double> using fW = units::isq::si::power<units::isq::si::femtowatt, Rep>;
|
||||
template<Representation Rep = double> using pW = units::isq::si::power<units::isq::si::picowatt, Rep>;
|
||||
template<Representation Rep = double> using nW = units::isq::si::power<units::isq::si::nanowatt, Rep>;
|
||||
template<Representation Rep = double> using uW = units::isq::si::power<units::isq::si::microwatt, Rep>;
|
||||
template<Representation Rep = double> using mW = units::isq::si::power<units::isq::si::milliwatt, Rep>;
|
||||
template<Representation Rep = double> using kW = units::isq::si::power<units::isq::si::kilowatt, Rep>;
|
||||
template<Representation Rep = double> using MW = units::isq::si::power<units::isq::si::megawatt, Rep>;
|
||||
template<Representation Rep = double> using GW = units::isq::si::power<units::isq::si::gigawatt, Rep>;
|
||||
template<Representation Rep = double> using TW = units::isq::si::power<units::isq::si::terawatt, Rep>;
|
||||
template<Representation Rep = double> using PW = units::isq::si::power<units::isq::si::petawatt, Rep>;
|
||||
template<Representation Rep = double> using EW = units::isq::si::power<units::isq::si::exawatt, Rep>;
|
||||
template<Representation Rep = double> using ZW = units::isq::si::power<units::isq::si::zettawatt, Rep>;
|
||||
template<Representation Rep = double> using YW = units::isq::si::power<units::isq::si::yottawatt, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::inline power
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -192,3 +192,33 @@ using namespace pressure_references;
|
||||
#endif // UNITS_REFERENCES
|
||||
|
||||
} // namespace units::isq::si
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::inline pressure {
|
||||
|
||||
template<Representation Rep = double> using Pa = units::isq::si::pressure<units::isq::si::pascal, Rep>;
|
||||
template<Representation Rep = double> using yPa = units::isq::si::pressure<units::isq::si::yoctopascal, Rep>;
|
||||
template<Representation Rep = double> using zPa = units::isq::si::pressure<units::isq::si::zeptopascal, Rep>;
|
||||
template<Representation Rep = double> using aPa = units::isq::si::pressure<units::isq::si::attopascal, Rep>;
|
||||
template<Representation Rep = double> using fPa = units::isq::si::pressure<units::isq::si::femtopascal, Rep>;
|
||||
template<Representation Rep = double> using pPa = units::isq::si::pressure<units::isq::si::picopascal, Rep>;
|
||||
template<Representation Rep = double> using nPa = units::isq::si::pressure<units::isq::si::nanopascal, Rep>;
|
||||
template<Representation Rep = double> using uPa = units::isq::si::pressure<units::isq::si::micropascal, Rep>;
|
||||
template<Representation Rep = double> using mPa = units::isq::si::pressure<units::isq::si::millipascal, Rep>;
|
||||
template<Representation Rep = double> using cPa = units::isq::si::pressure<units::isq::si::centipascal, Rep>;
|
||||
template<Representation Rep = double> using dPa = units::isq::si::pressure<units::isq::si::decipascal, Rep>;
|
||||
template<Representation Rep = double> using daPa = units::isq::si::pressure<units::isq::si::decapascal, Rep>;
|
||||
template<Representation Rep = double> using hPa = units::isq::si::pressure<units::isq::si::hectopascal, Rep>;
|
||||
template<Representation Rep = double> using kPa = units::isq::si::pressure<units::isq::si::kilopascal, Rep>;
|
||||
template<Representation Rep = double> using MPa = units::isq::si::pressure<units::isq::si::megapascal, Rep>;
|
||||
template<Representation Rep = double> using GPa = units::isq::si::pressure<units::isq::si::gigapascal, Rep>;
|
||||
template<Representation Rep = double> using TPa = units::isq::si::pressure<units::isq::si::terapascal, Rep>;
|
||||
template<Representation Rep = double> using PPa = units::isq::si::pressure<units::isq::si::petapascal, Rep>;
|
||||
template<Representation Rep = double> using EPa = units::isq::si::pressure<units::isq::si::exapascal, Rep>;
|
||||
template<Representation Rep = double> using ZPa = units::isq::si::pressure<units::isq::si::zettapascal, Rep>;
|
||||
template<Representation Rep = double> using YPa = units::isq::si::pressure<units::isq::si::yottapascal, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::inline pressure
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -190,3 +190,33 @@ using namespace radioactivity_references;
|
||||
#endif // UNITS_REFERENCES
|
||||
|
||||
} // namespace units::isq::si
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::inline radioactivity {
|
||||
|
||||
template<Representation Rep = double> using Bq = units::isq::radioactivity<units::isq::becquerel, Rep>;
|
||||
template<Representation Rep = double> using yBq = units::isq::radioactivity<units::isq::yoctobecquerel, Rep>;
|
||||
template<Representation Rep = double> using zBq = units::isq::radioactivity<units::isq::zeptobecquerel, Rep>;
|
||||
template<Representation Rep = double> using aBq = units::isq::radioactivity<units::isq::attobecquerel, Rep>;
|
||||
template<Representation Rep = double> using fBq = units::isq::radioactivity<units::isq::femtobecquerel, Rep>;
|
||||
template<Representation Rep = double> using pBq = units::isq::radioactivity<units::isq::picobecquerel, Rep>;
|
||||
template<Representation Rep = double> using nBq = units::isq::radioactivity<units::isq::nanobecquerel, Rep>;
|
||||
template<Representation Rep = double> using uBq = units::isq::radioactivity<units::isq::microbecquerel, Rep>;
|
||||
template<Representation Rep = double> using mBq = units::isq::radioactivity<units::isq::millibecquerel, Rep>;
|
||||
template<Representation Rep = double> using cBq = units::isq::radioactivity<units::isq::centibecquerel, Rep>;
|
||||
template<Representation Rep = double> using dBq = units::isq::radioactivity<units::isq::decibecquerel, Rep>;
|
||||
template<Representation Rep = double> using daBq = units::isq::radioactivity<units::isq::decabecquerel, Rep>;
|
||||
template<Representation Rep = double> using hBq = units::isq::radioactivity<units::isq::hectobecquerel, Rep>;
|
||||
template<Representation Rep = double> using kBq = units::isq::radioactivity<units::isq::kilobecquerel, Rep>;
|
||||
template<Representation Rep = double> using MBq = units::isq::radioactivity<units::isq::megabecquerel, Rep>;
|
||||
template<Representation Rep = double> using GBq = units::isq::radioactivity<units::isq::gigabecquerel, Rep>;
|
||||
template<Representation Rep = double> using TBq = units::isq::radioactivity<units::isq::terabecquerel, Rep>;
|
||||
template<Representation Rep = double> using PBq = units::isq::radioactivity<units::isq::petabecquerel, Rep>;
|
||||
template<Representation Rep = double> using EBq = units::isq::radioactivity<units::isq::exabecquerel, Rep>;
|
||||
template<Representation Rep = double> using ZBq = units::isq::radioactivity<units::isq::zettabecquerel, Rep>;
|
||||
template<Representation Rep = double> using YBq = units::isq::radioactivity<units::isq::yottabecquerel, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::inline radioactivity
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -168,3 +168,29 @@ using namespace resistance_references;
|
||||
#endif // UNITS_REFERENCES
|
||||
|
||||
} // namespace units::isq::si
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::inline resistance {
|
||||
|
||||
template<Representation Rep = double> using R = units::isq::si::resistance<units::isq::si::ohm, Rep>;
|
||||
template<Representation Rep = double> using yR = units::isq::si::resistance<units::isq::si::yoctoohm, Rep>;
|
||||
template<Representation Rep = double> using zR = units::isq::si::resistance<units::isq::si::zeptoohm, Rep>;
|
||||
template<Representation Rep = double> using aR = units::isq::si::resistance<units::isq::si::attoohm, Rep>;
|
||||
template<Representation Rep = double> using fR = units::isq::si::resistance<units::isq::si::femtoohm, Rep>;
|
||||
template<Representation Rep = double> using pR = units::isq::si::resistance<units::isq::si::picoohm, Rep>;
|
||||
template<Representation Rep = double> using nR = units::isq::si::resistance<units::isq::si::nanoohm, Rep>;
|
||||
template<Representation Rep = double> using uR = units::isq::si::resistance<units::isq::si::microohm, Rep>;
|
||||
template<Representation Rep = double> using mR = units::isq::si::resistance<units::isq::si::milliohm, Rep>;
|
||||
template<Representation Rep = double> using kR = units::isq::si::resistance<units::isq::si::kiloohm, Rep>;
|
||||
template<Representation Rep = double> using MR = units::isq::si::resistance<units::isq::si::megaohm, Rep>;
|
||||
template<Representation Rep = double> using GR = units::isq::si::resistance<units::isq::si::gigaohm, Rep>;
|
||||
template<Representation Rep = double> using TR = units::isq::si::resistance<units::isq::si::teraohm, Rep>;
|
||||
template<Representation Rep = double> using PR = units::isq::si::resistance<units::isq::si::petaohm, Rep>;
|
||||
template<Representation Rep = double> using ER = units::isq::si::resistance<units::isq::si::exaohm, Rep>;
|
||||
template<Representation Rep = double> using ZR = units::isq::si::resistance<units::isq::si::zettaohm, Rep>;
|
||||
template<Representation Rep = double> using YR = units::isq::si::resistance<units::isq::si::yottaohm, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::inline resistance
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -59,3 +59,14 @@ constexpr auto operator"" _q_km_per_h(long double l) { return speed<kilometre_pe
|
||||
#endif // UNITS_LITERALS
|
||||
|
||||
} // namespace units::isq::si
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::inline speed {
|
||||
|
||||
template<Representation Rep = double> using m_per_s = units::isq::si::speed<units::isq::si::metre_per_second, Rep>;
|
||||
template<Representation Rep = double> using km_per_h = units::isq::si::speed<units::isq::si::kilometre_per_hour, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::inline speed
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -53,3 +53,13 @@ constexpr auto operator"" _q_N_per_m(long double l) { return surface_tension<new
|
||||
#endif // UNITS_LITERALS
|
||||
|
||||
} // namespace units::isq::si
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::inline surface_tension {
|
||||
|
||||
template<Representation Rep = double> using N_per_m = units::isq::si::surface_tension<units::isq::si::newton_per_metre, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::inline surface_tension
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -54,3 +54,13 @@ constexpr auto operator"" _q_W_per_m_K(long double l) { return thermal_conductiv
|
||||
#endif // UNITS_LITERALS
|
||||
|
||||
} // namespace units::isq::si
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::inline thermal_conductivity {
|
||||
|
||||
template<Representation Rep = double> using W_per_m_K = units::isq::si::thermal_conductivity<units::isq::si::watt_per_metre_kelvin, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::inline thermal_conductivity
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -69,3 +69,13 @@ using namespace thermodynamic_temperature_references;
|
||||
#endif // UNITS_REFERENCES
|
||||
|
||||
} // namespace units::isq::si
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::inline thermodynamic_temperature {
|
||||
|
||||
template<Representation Rep = double> using K = units::isq::si::thermodynamic_temperature<units::isq::si::kelvin, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::inline thermodynamic_temperature
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -136,3 +136,24 @@ using namespace time_references;
|
||||
#endif // UNITS_REFERENCES
|
||||
|
||||
} // namespace units::isq::si
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::inline time {
|
||||
|
||||
template<Representation Rep = double> using ys = units::isq::si::time<units::isq::si::yoctosecond, Rep>;
|
||||
template<Representation Rep = double> using zs = units::isq::si::time<units::isq::si::zeptosecond, Rep>;
|
||||
template<Representation Rep = double> using as = units::isq::si::time<units::isq::si::attosecond, Rep>;
|
||||
template<Representation Rep = double> using fs = units::isq::si::time<units::isq::si::femtosecond, Rep>;
|
||||
template<Representation Rep = double> using ps = units::isq::si::time<units::isq::si::picosecond, Rep>;
|
||||
template<Representation Rep = double> using ns = units::isq::si::time<units::isq::si::nanosecond, Rep>;
|
||||
template<Representation Rep = double> using us = units::isq::si::time<units::isq::si::microsecond, Rep>;
|
||||
template<Representation Rep = double> using ms = units::isq::si::time<units::isq::si::millisecond, Rep>;
|
||||
template<Representation Rep = double> using s = units::isq::si::time<units::isq::si::second, Rep>;
|
||||
template<Representation Rep = double> using min = units::isq::si::time<units::isq::si::minute, Rep>;
|
||||
template<Representation Rep = double> using h = units::isq::si::time<units::isq::si::hour, Rep>;
|
||||
template<Representation Rep = double> using d = units::isq::si::time<units::isq::si::day, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::inline time
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -55,3 +55,13 @@ constexpr auto operator"" _q_N_m_per_rad(long double l) { return torque<newton_m
|
||||
#endif // UNITS_LITERALS
|
||||
|
||||
} // namespace units::isq::si
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::inline torque {
|
||||
|
||||
template<Representation Rep = double> using N_m_per_rad = units::isq::si::torque<units::isq::si::newton_metre_per_radian, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::inline torque
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -192,3 +192,33 @@ using namespace voltage_references;
|
||||
#endif // UNITS_REFERENCES
|
||||
|
||||
} // namespace units::isq::si
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::inline voltage {
|
||||
|
||||
template<Representation Rep = double> using V = units::isq::si::voltage<units::isq::si::volt, Rep>;
|
||||
template<Representation Rep = double> using yV = units::isq::si::voltage<units::isq::si::yoctovolt, Rep>;
|
||||
template<Representation Rep = double> using zV = units::isq::si::voltage<units::isq::si::zeptovolt, Rep>;
|
||||
template<Representation Rep = double> using aV = units::isq::si::voltage<units::isq::si::attovolt, Rep>;
|
||||
template<Representation Rep = double> using fV = units::isq::si::voltage<units::isq::si::femtovolt, Rep>;
|
||||
template<Representation Rep = double> using pV = units::isq::si::voltage<units::isq::si::picovolt, Rep>;
|
||||
template<Representation Rep = double> using nV = units::isq::si::voltage<units::isq::si::nanovolt, Rep>;
|
||||
template<Representation Rep = double> using uV = units::isq::si::voltage<units::isq::si::microvolt, Rep>;
|
||||
template<Representation Rep = double> using mV = units::isq::si::voltage<units::isq::si::millivolt, Rep>;
|
||||
template<Representation Rep = double> using cV = units::isq::si::voltage<units::isq::si::centivolt, Rep>;
|
||||
template<Representation Rep = double> using dV = units::isq::si::voltage<units::isq::si::decivolt, Rep>;
|
||||
template<Representation Rep = double> using daV = units::isq::si::voltage<units::isq::si::decavolt, Rep>;
|
||||
template<Representation Rep = double> using hV = units::isq::si::voltage<units::isq::si::hectovolt, Rep>;
|
||||
template<Representation Rep = double> using kV = units::isq::si::voltage<units::isq::si::kilovolt, Rep>;
|
||||
template<Representation Rep = double> using MV = units::isq::si::voltage<units::isq::si::megavolt, Rep>;
|
||||
template<Representation Rep = double> using GV = units::isq::si::voltage<units::isq::si::gigavolt, Rep>;
|
||||
template<Representation Rep = double> using TV = units::isq::si::voltage<units::isq::si::teravolt, Rep>;
|
||||
template<Representation Rep = double> using PV = units::isq::si::voltage<units::isq::si::petavolt, Rep>;
|
||||
template<Representation Rep = double> using EV = units::isq::si::voltage<units::isq::si::exavolt, Rep>;
|
||||
template<Representation Rep = double> using ZV = units::isq::si::voltage<units::isq::si::zettavolt, Rep>;
|
||||
template<Representation Rep = double> using YV = units::isq::si::voltage<units::isq::si::yottavolt, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::inline voltage
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
@@ -284,6 +284,7 @@ inline constexpr auto Pm3 = reference<dim_volume, cubic_petametre>{};
|
||||
inline constexpr auto Em3 = reference<dim_volume, cubic_exametre>{};
|
||||
inline constexpr auto Zm3 = reference<dim_volume, cubic_zettametre>{};
|
||||
inline constexpr auto Ym3 = reference<dim_volume, cubic_yottametre>{};
|
||||
|
||||
inline constexpr auto l = reference<dim_volume, litre>{};
|
||||
inline constexpr auto yl = reference<dim_volume, yoctolitre>{};
|
||||
inline constexpr auto zl = reference<dim_volume, zeptolitre>{};
|
||||
@@ -317,3 +318,55 @@ using namespace volume_references;
|
||||
#endif // UNITS_REFERENCES
|
||||
|
||||
} // namespace units::isq::si
|
||||
|
||||
#ifdef UNITS_ALIASES
|
||||
|
||||
namespace units::aliases::isq::si::inline volume {
|
||||
|
||||
template<Representation Rep = double> using m3 = units::isq::si::volume<units::isq::si::cubic_metre, Rep>;
|
||||
template<Representation Rep = double> using ym3 = units::isq::si::volume<units::isq::si::cubic_yoctometre, Rep>;
|
||||
template<Representation Rep = double> using zm3 = units::isq::si::volume<units::isq::si::cubic_zeptometre, Rep>;
|
||||
template<Representation Rep = double> using am3 = units::isq::si::volume<units::isq::si::cubic_attometre, Rep>;
|
||||
template<Representation Rep = double> using fm3 = units::isq::si::volume<units::isq::si::cubic_femtometre, Rep>;
|
||||
template<Representation Rep = double> using pm3 = units::isq::si::volume<units::isq::si::cubic_picometre, Rep>;
|
||||
template<Representation Rep = double> using nm3 = units::isq::si::volume<units::isq::si::cubic_nanometre, Rep>;
|
||||
template<Representation Rep = double> using um3 = units::isq::si::volume<units::isq::si::cubic_micrometre, Rep>;
|
||||
template<Representation Rep = double> using mm3 = units::isq::si::volume<units::isq::si::cubic_millimetre, Rep>;
|
||||
template<Representation Rep = double> using cm3 = units::isq::si::volume<units::isq::si::cubic_centimetre, Rep>;
|
||||
template<Representation Rep = double> using dm3 = units::isq::si::volume<units::isq::si::cubic_decimetre, Rep>;
|
||||
template<Representation Rep = double> using dam3 = units::isq::si::volume<units::isq::si::cubic_decametre, Rep>;
|
||||
template<Representation Rep = double> using hm3 = units::isq::si::volume<units::isq::si::cubic_hectometre, Rep>;
|
||||
template<Representation Rep = double> using km3 = units::isq::si::volume<units::isq::si::cubic_kilometre, Rep>;
|
||||
template<Representation Rep = double> using Mm3 = units::isq::si::volume<units::isq::si::cubic_megametre, Rep>;
|
||||
template<Representation Rep = double> using Gm3 = units::isq::si::volume<units::isq::si::cubic_gigametre, Rep>;
|
||||
template<Representation Rep = double> using Tm3 = units::isq::si::volume<units::isq::si::cubic_terametre, Rep>;
|
||||
template<Representation Rep = double> using Pm3 = units::isq::si::volume<units::isq::si::cubic_petametre, Rep>;
|
||||
template<Representation Rep = double> using Em3 = units::isq::si::volume<units::isq::si::cubic_exametre, Rep>;
|
||||
template<Representation Rep = double> using Zm3 = units::isq::si::volume<units::isq::si::cubic_zettametre, Rep>;
|
||||
template<Representation Rep = double> using Ym3 = units::isq::si::volume<units::isq::si::cubic_yottametre, Rep>;
|
||||
|
||||
template<Representation Rep = double> using l = units::isq::si::volume<units::isq::si::litre, Rep>;
|
||||
template<Representation Rep = double> using yl = units::isq::si::volume<units::isq::si::yoctolitre, Rep>;
|
||||
template<Representation Rep = double> using zl = units::isq::si::volume<units::isq::si::zeptolitre, Rep>;
|
||||
template<Representation Rep = double> using al = units::isq::si::volume<units::isq::si::attolitre, Rep>;
|
||||
template<Representation Rep = double> using fl = units::isq::si::volume<units::isq::si::femtolitre, Rep>;
|
||||
template<Representation Rep = double> using pl = units::isq::si::volume<units::isq::si::picolitre, Rep>;
|
||||
template<Representation Rep = double> using nl = units::isq::si::volume<units::isq::si::nanolitre, Rep>;
|
||||
template<Representation Rep = double> using ul = units::isq::si::volume<units::isq::si::microlitre, Rep>;
|
||||
template<Representation Rep = double> using ml = units::isq::si::volume<units::isq::si::millilitre, Rep>;
|
||||
template<Representation Rep = double> using cl = units::isq::si::volume<units::isq::si::centilitre, Rep>;
|
||||
template<Representation Rep = double> using dl = units::isq::si::volume<units::isq::si::decilitre, Rep>;
|
||||
template<Representation Rep = double> using dal = units::isq::si::volume<units::isq::si::decalitre, Rep>;
|
||||
template<Representation Rep = double> using hl = units::isq::si::volume<units::isq::si::hectolitre, Rep>;
|
||||
template<Representation Rep = double> using kl = units::isq::si::volume<units::isq::si::kilolitre, Rep>;
|
||||
template<Representation Rep = double> using Ml = units::isq::si::volume<units::isq::si::megalitre, Rep>;
|
||||
template<Representation Rep = double> using Gl = units::isq::si::volume<units::isq::si::gigalitre, Rep>;
|
||||
template<Representation Rep = double> using Tl = units::isq::si::volume<units::isq::si::teralitre, Rep>;
|
||||
template<Representation Rep = double> using Pl = units::isq::si::volume<units::isq::si::petalitre, Rep>;
|
||||
template<Representation Rep = double> using El = units::isq::si::volume<units::isq::si::exalitre, Rep>;
|
||||
template<Representation Rep = double> using Zl = units::isq::si::volume<units::isq::si::zettalitre, Rep>;
|
||||
template<Representation Rep = double> using Yl = units::isq::si::volume<units::isq::si::yottalitre, Rep>;
|
||||
|
||||
} // namespace units::aliases::isq::si::inline volume
|
||||
|
||||
#endif // UNITS_ALIASES
|
||||
Reference in new issue
Block a user