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

3.4.1 armcrm - Critical pressure coefficient given Mcrit
DOUBLE PRECISION FUNCTION AR04AA(G,MCRIT,IERR)
  DOUBLE PRECISION G, MCRIT
  INTEGER 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.