public double GetMeanSpecificHeatOfVapor(double t1, double t2) { //return 1880.0; double cp; if (Math.Abs(t1 - t2) > 1.0e-4) { cp = thermalPropCalculator.CalculateGasMeanHeatCapacity(t1, t2, moisture); } else { cp = thermalPropCalculator.CalculateGasHeatCapacity(t1, moisture); } //return cp / molarWeight; return(cp); }