pub fn region(t: f64, p: f64) -> Result<Region, IAPWSError>Expand description
Determines which region of the pT chart a point belongs to.
Returns an error if the point is outside the bounds of the IAPWS-IF97 correlations.
Temperature is assumed to be in K Pressure is assumed to be in Pa
Example
use rust_steam::{region};
let region = region(300.0, 101325.0).unwrap();