Skip to content

Commit 4862c87

Browse files
Add speed of light and Hartree atomic unit of velocity as velocity units.
1 parent 10d9679 commit 4862c87

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/si/velocity.rs

+7
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,13 @@ quantity! {
6767
@mile_per_second: 1.609_344_E3; "mi/s", "mile per second", "miles per second";
6868
@millimeter_per_minute: 1.666_666_666_666_666_667_E-5; "mm/min", "millimeter per minute",
6969
"millimeters per minute";
70+
71+
/// Hartree atomic unit of velocity a₀·Eₕ/ħ, where a₀ is Bohr radius, Eₕ is Hartree energy, and ħ is reduced Planck constant
72+
@atomic_unit_of_velocity: 2.187_691_263_64_E6; "a₀·Eₕ/ħ", "atomic unit of velocity", "atomic units of velocity";
73+
/// Speed of light in vacuum, CODATA 2018
74+
@natural_unit_of_velocity: 299_792_458.0; "c", "natural unit of velocity", "natural units of velocity";
75+
/// Speed of light in vacuum, CODATA 2018
76+
@speed_of_light_in_vacuum: 299_792_458.0; "c", "speed of light in vacuum", "speeds of light in vacuum";
7077
}
7178
}
7279

0 commit comments

Comments
 (0)