Compressible Flow Subroutine Library
Programming Reference Manual
Version 1.0 DD-00008-010
3.10.3 arsnsm2 - Normal shock relations given M2n
void arsnsm2(double g, double m, double result[5], int *ierr);

Compute the normal shock relations given the downstream mach number M2n .

Performance
Fixed

Arguments




Argument Intent

Description




g in

Specific heat constant γ .

m in

Upstream number M2n >0  .

result out

Array with result properties as described in  8.

ierr out

(optional) Return status code




Status codes

-1

Specific heat ratio γ≤ 1  .

-2

Given M2n out of range.