Compressible Flow Subroutine Library
Programming Reference Manual
Version 1.0 DD-00008-110
3.16.3 arsrsmr - Incident shock wave mach number given M′
DOUBLE PRECISION FUNCTION AR16AB(G,MR,IERR)
  DOUBLE PRECISION G, MR
  INTEGER IERR

Computes the incident shock wave mach number given M′ .

Performance
Iterative

Arguments




Argument Intent

Description




g in

Specific heat constant γ .

m in

Incident mach number  ′
M > 0  .

result out

Array with result properties as described in  14.

ierr out

(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.