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

3.16.2 arsrsms - Reflected shock wave mach number given M
double arsrsms(double g, double ms, int *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.