mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-04-23 03:00:17 -04:00
Fixed DmassT and SmassT
This commit is contained in:
@@ -338,11 +338,11 @@ void CoolProp::BicubicBackend::update(CoolProp::input_pairs input_pair, double v
|
||||
}
|
||||
case DmassT_INPUTS:{
|
||||
// Call again, but this time with molar units; D: [kg/m^3] / [kg/mol] -> [mol/m^3]
|
||||
update(DmassP_INPUTS, val1 / AS->molar_mass(), val2); return;
|
||||
update(DmolarT_INPUTS, val1 / AS->molar_mass(), val2); return;
|
||||
}
|
||||
case SmassT_INPUTS:{
|
||||
// Call again, but this time with molar units; S: [J/kg/K] * [kg/mol] -> [J/mol/K]
|
||||
update(PSmolar_INPUTS, val1*AS->molar_mass(),val2); return;
|
||||
update(SmolarT_INPUTS, val1*AS->molar_mass(), val2); return;
|
||||
}
|
||||
case SmolarT_INPUTS:
|
||||
case DmolarT_INPUTS:{
|
||||
|
||||
Reference in New Issue
Block a user