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

3.10.2 arsnsm1 - Normal shock relations given M1n
void arsnsm1(double g, double m, double result[5], int *ierr);

Compute the normal shock relations given the upstream mach number M1n .

Performance
Fixed

Arguments

G - REAL

ENTRY: Specific heat constant γ .

M - REAL

ENTRY: Upstream number M   ≥ 1
  1n  .

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 M1n out of range.