Took out unused variables.
This commit is contained in:
parent
5c3aa77dbb
commit
b479220927
4 changed files with 7 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
#/bin/sh
|
||||
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
.SUFFIXES :
|
||||
.SUFFIXES : .cpp .d .o
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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 = "";
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue