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