From edd8584dda2a39d56035b64356ac5770ee2e3ef4 Mon Sep 17 00:00:00 2001 From: Harry Moffat Date: Tue, 26 Jun 2007 17:43:12 +0000 Subject: [PATCH] Doxygen update -> fixing documentation for functions. --- Cantera/src/thermo/HMWSoln.cpp | 19 +++++++++++++------ Cantera/src/thermo/HMWSoln.h | 5 +++-- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/Cantera/src/thermo/HMWSoln.cpp b/Cantera/src/thermo/HMWSoln.cpp index 11adea01f..a5f7a09c3 100644 --- a/Cantera/src/thermo/HMWSoln.cpp +++ b/Cantera/src/thermo/HMWSoln.cpp @@ -895,17 +895,24 @@ namespace Cantera { } - /** + /* * Returns an array of partial molar enthalpies for the species * in the mixture. * Units (J/kmol) * - * We calculate this quantity partially from the relation and - * partially by calling the standard state enthalpy function. + * For this phase, the partial molar enthalpies are equal to the + * standard state enthalpies modified by the derivative of the + * molality-based activity coefficent wrt temperature + * + * \f[ + * \bar h_k(T,P) = h^{\triangle}_k(T,P) - R T^2 \frac{d \ln(\gamma_k^\triangle)}{dT} + * \f] + * The solvent partial molar enthalpy is equal to + * \f[ + * \bar h_o(T,P) = h^{o}_o(T,P) - R T^2 \frac{d \ln(a_o)}{dT} + * \f] * - * hbar_i = - T**2 * d(chemPot_i/T)/dT * - * We calculate */ void HMWSoln::getPartialMolarEnthalpies(doublereal* hbar) const { /* @@ -932,7 +939,7 @@ namespace Cantera { } } - /** + /* * * getPartialMolarEntropies() (virtual, const) * diff --git a/Cantera/src/thermo/HMWSoln.h b/Cantera/src/thermo/HMWSoln.h index 6efaad8f8..ca700d0b8 100644 --- a/Cantera/src/thermo/HMWSoln.h +++ b/Cantera/src/thermo/HMWSoln.h @@ -1595,7 +1595,8 @@ namespace Cantera { * \f] * The solvent partial molar enthalpy is equal to * \f[ - * \bar h_o(T,P) = h^{o}_o(T,P) - R T^2 \frac{d \ln(a_o}{dT} + * \bar h_o(T,P) = h^{o}_o(T,P) - R T^2 \frac{d \ln(a_o)}{dT} + * = h^{o}_o(T,P) + R T^2 (\sum_{k \neq o} m_k) \tilde{M_o} (\frac{d \phi}{dT}) * \f] * * @@ -1607,7 +1608,7 @@ namespace Cantera { //! Returns an array of partial molar entropies of the species in the //! solution. Units: J/kmol/K. - /** + /*! * Maxwell's equations provide an insight in how to calculate this * (p.215 Smith and Van Ness) *