diff --git a/ext/tpx/CarbonDioxide.cpp b/ext/tpx/CarbonDioxide.cpp index 4f80d2bbe..d0859aa06 100755 --- a/ext/tpx/CarbonDioxide.cpp +++ b/ext/tpx/CarbonDioxide.cpp @@ -256,7 +256,7 @@ double CarbonDioxide::up() { */ double CarbonDioxide::sp() { - double Tinverse = 1.0/T; + //double Tinverse = 1.0/T; double T2inverse = pow(T, -2); double T3inverse = pow(T, -3); double T4inverse = pow(T, -4); diff --git a/ext/tpx/Makefile.in b/ext/tpx/Makefile.in index 9f6be1d5b..dcbd3527d 100755 --- a/ext/tpx/Makefile.in +++ b/ext/tpx/Makefile.in @@ -1,5 +1,7 @@ #/bin/sh - +# +# $Id$ +# .SUFFIXES : .SUFFIXES : .cpp .d .o diff --git a/ext/tpx/RedlichKwong.cpp b/ext/tpx/RedlichKwong.cpp index 185f73b95..f52f1f8f8 100644 --- a/ext/tpx/RedlichKwong.cpp +++ b/ext/tpx/RedlichKwong.cpp @@ -31,7 +31,7 @@ namespace tpx { double RedlichKwong::sp() { const double Pref = 101325.0; double rgas = 8314.3/m_mw; - double ss = rgas*(log(Pref/(Rho*rgas*T))); + //double ss = rgas*(log(Pref/(Rho*rgas*T))); double sr = sresid(); double p = Pp(); double s = rgas*(log(Pref/p)) + sr + m_entropy_offset; diff --git a/ext/tpx/Sub.cpp b/ext/tpx/Sub.cpp index f5a19ca1f..dda02e7ab 100755 --- a/ext/tpx/Sub.cpp +++ b/ext/tpx/Sub.cpp @@ -15,11 +15,13 @@ namespace tpx { return string(buf); } +/* static string int2str(int n, string fmt="%d") { char buf[30]; sprintf(buf, fmt.c_str(), n); return string(buf); } +*/ string TPX_Error::ErrorMessage = ""; string TPX_Error::ErrorProcedure = "";