pub fn oblique_p02_p01<F: Float>(mach: F, gamma: F, theta: F) -> FExpand description
Stagnation pressure ratio across weak oblique shock
ยงExamples
use comp_flow::oblique_p02_p01;
assert_eq!(oblique_p02_p01(2.0_f32, 1.4_f32, 0.1745329_f32), 0.98464406);
assert_eq!(oblique_p02_p01(5.0_f64, 1.4_f64, 0.3490659_f64), 0.5050701357775494);