functionPartialGasFunction