Fixed derivatives again

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
Ian Bell
2014-10-15 23:44:15 +02:00
parent eb076916db
commit 77818c5cda

View File

@@ -1423,7 +1423,7 @@ void get_dT_drho_second_derivatives(HelmholtzEOSMixtureBackend *HEOS, int index,
if (index == iHmass){
drho2 /= HEOS->molar_mass();
drho_dT /= HEOS->molar_mass();
dT /= HEOS->molar_mass();
dT2 /= HEOS->molar_mass();
}
break;
}
@@ -1439,7 +1439,7 @@ void get_dT_drho_second_derivatives(HelmholtzEOSMixtureBackend *HEOS, int index,
if (index == iSmass){
drho2 /= HEOS->molar_mass();
drho_dT /= HEOS->molar_mass();
dT /= HEOS->molar_mass();
dT2 /= HEOS->molar_mass();
}
break;
}
@@ -1455,7 +1455,7 @@ void get_dT_drho_second_derivatives(HelmholtzEOSMixtureBackend *HEOS, int index,
if (index == iUmass){
drho2 /= HEOS->molar_mass();
drho_dT /= HEOS->molar_mass();
dT /= HEOS->molar_mass();
dT2 /= HEOS->molar_mass();
}
break;
}