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

3.16.3 arsrsmr - Incident shock wave mach number given M′
double arsrsmr(double g, double mr, int *ierr);

Computes the incident shock wave mach number given M′ .

Performance
Iterative

Arguments

G - REAL

ENTRY: Specific heat constant γ .

M - REAL

ENTRY: Mach number M ′> 0  .

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.

-3

Iterative solver failed.

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