Function bigbang::utils::can_water_be_liquid [] [src]

pub fn can_water_be_liquid(min_temp: f64, max_temp: f64, pressure: f64) -> bool

Checks if water can be liquid

Examples

let min_temp = 260_f64;
let max_temp = 290_f64;
let pressure = 101_325_f64;

let can_be_liquid = can_water_be_liquid(min_temp, max_temp, pressure);

// Now can_be_liquid should be true