Took out unused variables.

This commit is contained in:
Harry Moffat 2008-01-01 19:24:44 +00:00
parent 5c3aa77dbb
commit b479220927
4 changed files with 7 additions and 3 deletions

View file

@ -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);

View file

@ -1,5 +1,7 @@
#/bin/sh
#
# $Id$
#
.SUFFIXES :
.SUFFIXES : .cpp .d .o

View file

@ -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;

View file

@ -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 = "";