public double GetEnthalpy(double p, double t) { //double h = 0.0; //if (moisture.Name.Equals("Water")) { // h = thermalPropCalculator.CalculateEnthalpy(p, t, moisture); //} double h = thermalPropCalculator.CalculateEnthalpy(p, t, moisture); return(h); }