Compressible Flow Subroutine Library
Programming Reference Manual
Version 1.0 DD-00008-010
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




Argument Intent

Description




g in

Specific heat constant γ .

s in

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

result out

Array with result properties as described in  6.

ierr out

(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.