7.104. CKPY

CKPY      CKPY      CKPY      CKPY      CKPY      CKPY      CKPY      
          **********************************************
                    **************************
                              ******

SUBROUTINE CKPY   (RHO, T, Y, ICKWRK, RCKWRK, P)
Returns the pressure of the gas mixture given mass density,
temperature(s) and mass fractions.

INPUT
RHO       - Real scalar, mass density.
               cgs units, gm/cm**3
T(*)      - Real array, temperature(s); dimension is determined by
            the application program to be the total number of
            species temperatures, nominally 1.
               cgs units, K
Y(*)      - Real array, mass fractions of the mixture;
            dimension at least KK, the total species count.
ICKWRK(*) - Integer workspace array; dimension at least LENICK.
RCKWRK(*) - Real    workspace array; dimension at least LENRCK.

OUTPUT
P         - Real scalar, pressure.
               cgs units, dynes/cm**2