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

3.19.2 arsmnsm - Moving shock relations given M
SUBROUTINE AR18AA(G,M,RESULT,IERR)
  DOUBLE PRECISION G, M, RESULT(4)
  INTEGER IERR

Compute the moving normal shock wave relations given the mach number M .

Performance
Fixed

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

IERR - INTEGER

EXIT: (optional) Return status code.

Status codes

-1

Specific heat ratio γ≤ 1  .

-2

Given M out of range.