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

3.4.1 armcrm - Critical pressure coefficient given Mcrit
double armcrm(double g, double mcrit, int *ierr);

Compute given the critical pressure coefficient given Mcrit   .

Performance
Fixed

Arguments

G - REAL

ENTRY: Specific heat constant γ .

MCRIT - REAL

ENTRY: Critical Mach number 0 <M    <1
     crit  .

IERR - INTEGER

EXIT: (optional) Return status code.

Status codes

-1

Specific heat ratio γ≤ 1  .

-2

Given Mcrit   out of range.

Return Value
Critical pressure coefficient Cp or NAN on error.