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

3.2.2 armcmm - Compute given normal mach number, M
double armcmm(double g, double m, int *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.