mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-04 12:54:25 +02:00
feat: heat
is now a quantity of energy
kind
ISO 8000-1 says: "The quantities heat, kinetic energy, and potential energy are generally considered to be quantities of the same kind, namely, of the kind of quantity called energy."
This commit is contained in:
@@ -37,7 +37,7 @@ QUANTITY_SPEC(pressure_coefficient, pressure / thermodynamic_temperature);
|
||||
QUANTITY_SPEC(isothermal_compressibility, 1 / volume * (volume / pressure)); // TODO how to handle "negative" part
|
||||
QUANTITY_SPEC(isentropic_compressibility, 1 / volume * (volume / pressure)); // TODO how to handle "negative" part
|
||||
// energy definition moved to mechanics
|
||||
QUANTITY_SPEC(heat, mass* pow<2>(length) / pow<2>(time)); // TODO what is a correct equation here?
|
||||
QUANTITY_SPEC(heat, energy);
|
||||
inline constexpr auto amount_of_heat = heat;
|
||||
QUANTITY_SPEC(latent_heat, heat); // TODO what is a correct equation here?
|
||||
QUANTITY_SPEC(heat_flow_rate, heat / time);
|
||||
|
Reference in New Issue
Block a user