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

3.15.2 arsptm - (Rayleigh-)Pitot relations given M
DOUBLE PRECISION FUNCTION AR15AA(G,M,IERR)
  DOUBLE PRECISION G, M
  INTEGER IERR

Compute the Rayleigh-Pitot properties given a 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  13.

IERR - INTEGER

EXIT: (optional) Return status code.

Status codes

-1

Specific heat ratio γ≤ 1  .

-2

Given M out of range.

Return Values
The pressure ratio p0/p or p02/p1   or NAN on error.