conspire/units/constants/
mod.rs1#[cfg(test)]
4mod test;
5
6use super::{
7 Acceleration, Action, Charge, Entropy, MolarEntropy, ReciprocalAmount, Temperature, Velocity,
8};
9use crate::math::Quantity;
10
11pub const AVOGADRO_CONSTANT: Quantity<ReciprocalAmount> =
13 ReciprocalAmount::per_mole(6.022_140_76e23);
14
15pub const BOLTZMANN_CONSTANT: Quantity<Entropy> = Entropy::joules_per_kelvin(1.380_649e-23);
17
18pub const GAS_CONSTANT: Quantity<MolarEntropy> =
20 MolarEntropy::joules_per_mole_kelvin(8.314_462_618_153_24);
21
22pub const ELEMENTARY_CHARGE: Quantity<Charge> = Charge::coulombs(1.602_176_634e-19);
24
25pub const LIGHT_SPEED: Quantity<Velocity> = Velocity::meters_per_second(2.997_924_58e8);
27
28pub const PLANCK_CONSTANT: Quantity<Action> = Action::joule_seconds(6.626_070_15e-34);
30
31pub const STANDARD_GRAVITY: Quantity<Acceleration> = Acceleration::standard_gravities(1.0);
33
34pub const ROOM_TEMPERATURE: Quantity<Temperature> = Temperature::celsius(20.0);