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

3.16.2 arsrsms - Reflected shock wave mach number given M
DOUBLE PRECISION FUNCTION AR16AA(G,MS,IERR)
  DOUBLE PRECISION G, MS
  INTEGER IERR

Computes the reflected shock wave mach number given M ′ .

Performance
Fixed

Arguments

G - REAL

ENTRY: Specific heat constant γ .

MS - REAL

ENTRY: Incident mach number M ≥ 1  .

RESULT - ARRAY OF REAL

EXIT: Array with result properties as described in  14.

IERR - INTEGER

EXIT: (optional) Return status code.

Status codes

-1

Specific heat ratio γ≤ 1  .

-2

Given M out of range.

Return values
The reflected shock wave mach number M ′ or NAN on error.