pub fn mach_to_pm_angle<F: Float>(mach: F, gamma: F) -> F
Expand description
Prandtl-Meyer angle in radians for a given mach number and specific heat ratio.
ยงExamples
use comp_flow::mach_to_pm_angle;
assert_eq!(mach_to_pm_angle(2.0_f32, 1.4_f32), 0.4604136818474);
assert_eq!(mach_to_pm_angle(1.0_f64, 1.4_f64), 0.0);