pub fn hs<R>(h: f64, s: f64, o_id_reg: R) -> f64where
R: Into<o_id_region_args>,Expand description
hs(h,s,o_id) - the propertry of o_id (thermodynamic,transport,etc)
hs(h,s,(o_id,reg)) - the propertry of o_id in the region of reg(thermodynamic,transport,etc)
Examples
use if97::*;
let h:f64= 0.115331273e+3;;
let s:f64= 0.392294792;
let p=hs(h,s,OP);
// set the region
let t=hs(h,s,(OT,1));
println!("h={h:.6} s={s:.6} p={p:.6} t={t:.6}");