Skip to content

Commit cf61497

Browse files
Adding universal cas constant and Boltzmann constant as units of measure.
1 parent 5fd23fa commit cf61497

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/si/heat_capacity.rs

+3
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,9 @@ quantity! {
167167
@btu_it_per_degree_fahrenheit: 1.899_100_8_E3; "Btu (IT)/°F",
168168
"British thermal unit (IT) per degree Fahrenheit",
169169
"British thermal units (IT) per degree Fahrenheit";
170+
171+
@boltzmann_constant: 1.380_649_E-23; "k",
172+
"Boltzmann constant", "Boltzmann constants";
170173
}
171174
}
172175

src/si/molar_heat_capacity.rs

+3
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,9 @@ quantity! {
9494
@electronvolt_per_kelvin_particle: 6.022_140_76_E23 * 1.602_176_634_E-19;
9595
"eV/(K · particle)", "electronvolt per kelvin particle",
9696
"electronvolts per kelvin particle";
97+
98+
@molar_gas_constant: 8.314_462_618_E0; "R",
99+
"molar gas constant", "molar gas constants";
97100
}
98101
}
99102

0 commit comments

Comments
 (0)