11 #ifndef CT_THERMOPHASE_H
12 #define CT_THERMOPHASE_H
185 #ifdef H298MODIFY_CAPABILITY
195 doublereal
Hf298SS(
const int k)
const {
222 return err(
"Hf298SS - H298MODIFY_CAPABILITY not compiled in");
234 (void)
err(
"Hf298SS - H298MODIFY_CAPABILITY not compiled in");
273 return err(
"enthalpy_mole");
283 return err(
"entropy_mole");
293 return err(
"cp_mole");
298 return err(
"cv_mole");
317 return err(
"pressure");
349 err(
"isothermalCompressibility");
361 err(
"thermalExpansionCoeff()");
473 err(
"getActivityConcentrations");
495 err(
"standardConcentration");
533 int sizeUA = 6)
const;
559 err(
"getActivityCoefficients");
584 err(
"getChemPotentials_RT");
598 err(
"getChemPotentials");
619 for (
size_t k = 0; k <
m_kk; k++) {
631 err(
"getPartialMolarEnthalpies");
641 err(
"getPartialMolarEntropies");
651 err(
"getPartialMolarIntEnergies");
662 err(
"getPartialMolarCp");
672 err(
"getPartialMolarVolumes");
684 err(
"getdPartialMolarVolumes_dT");
696 err(
"getdPartialMolarVolumes_dP");
714 err(
"getStandardChemPotentials");
724 err(
"getEnthalpy_RT");
765 err(
"getIntEnergy_RT");
788 err(
"getStandardVolumes");
801 err(
"getdStandardVolumes_dT");
814 err(
"getdStandardVolumes_dP");
833 err(
"getEnthalpy_RT_ref");
844 err(
"getGibbs_RT_ref");
868 err(
"getEntropy_R_ref");
880 err(
"getIntEnergy_RT_ref");
893 err(
"getCp_R_ref()");
905 err(
"getStandardVolumes_ref");
1003 virtual void setState_TPX(doublereal t, doublereal p,
const doublereal* x);
1027 void setState_TPX(doublereal t, doublereal p,
const std::string& x);
1039 void setState_TPY(doublereal t, doublereal p,
const doublereal* y);
1063 void setState_TPY(doublereal t, doublereal p,
const std::string& y);
1104 virtual void setState_HP(doublereal h, doublereal p, doublereal tol = 1.e-4);
1116 virtual void setState_UV(doublereal u, doublereal v, doublereal tol = 1.e-4);
1129 doublereal tol = 1.e-4,
bool doUV =
false);
1143 virtual void setState_SP(doublereal s, doublereal p, doublereal tol = 1.e-4);
1155 virtual void setState_SV(doublereal s, doublereal v, doublereal tol = 1.e-4);
1168 doublereal tol = 1.e-4,
bool doSV =
false);
1194 err(
"setToEquilState");
1237 err(
"critTemperature");
1243 err(
"critPressure");
1268 err(
"satTemperature");
1283 err(
"vaprFraction");
1293 err(
"setState_sat");
1302 err(
"setState_sat");
1332 const std::vector<const XML_Node*> &
speciesData()
const;
1381 virtual void initThermoFile(std::string inputFile, std::string
id);
1512 doublereal* dlnActCoeffds)
const {
1513 err(
"getdlnActCoeffds");
1534 err(
"getdlnActCoeffdlnX_diag");
1555 err(
"getdlnActCoeffdlnN_diag");
1579 virtual void getdlnActCoeffdlnN_numderiv(
const size_t ld, doublereal*
const dlnActCoeffdlnN);
1592 virtual std::string
report(
bool show_thermo =
true)
const;
1599 virtual void reportCSV(std::ofstream& csvFile)
const;
1665 doublereal
err(std::string msg)
const;
1681 DEPRECATED(std::string
report(
const ThermoPhase& th,
const bool show_thermo =
true));