Compressible Flow Subroutine Library
Programming Reference Manual
Version 1.0 DD-00008-010E

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

G - REAL

ENTRY: Specific heat constant γ .

M - REAL

ENTRY: Upstream number M   > 0
  2n  .

RESULT - ARRAY OF REAL

EXIT: Array with result properties as described in  8.

IERR - INTEGER

EXIT: (optional) Return status code.

Status codes

-1

Specific heat ratio γ≤ 1  .

-2

Given M2n out of range.