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

3.8.4 arfits - Isothermal relations given p*/p,r*/r,M */M
void arfits(double g, double s, double result[6], int *ierr);

Compute the isothermal relations given a non-stagnative ratio, p*/p,r*/r,M*/M .

Performance
Fixed

Arguments

G - REAL

ENTRY: Specific heat constant γ .

S - REAL

ENTRY: Non-stagnative ratio p*/p,r*/r,M */M > 0  .

RESULT - ARRAY OF REAL

EXIT: Array with result properties as described in  6.

IERR - INTEGER

EXIT: (optional) Return status code.

Status codes

-1

Specific heat ratio γ≤ 1  .

-2

Computed M out of range.

-3

Given non-stagnative ratio out of range.