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

3.2.2 armcmm - Compute given normal mach number, M
DOUBLE PRECISION FUNCTION AR02AA(G,M,IERR)
  DOUBLE PRECISION G, M
  INTEGER IERR

Compute given normal mach number, M .

Performance
Fixed

Arguments

G - REAL

ENTRY: Specific heat constant γ .

M - REAL

ENTRY: Mach number M >0  .

IERR - INTEGER

EXIT: (optional) Return status code.

Status Codes

-1

Specific heat ratio γ≤ 1  .

-2

Given M ≤ 0  .

Return Value
Characteristic mach number M * or NAN on error.