From d6f11c26ce99f245fa5806686c214e55b4dc7687 Mon Sep 17 00:00:00 2001 From: Harry Moffat Date: Tue, 13 Jun 2006 00:20:57 +0000 Subject: [PATCH] Added the function getPartialMolarCp(). It isn't currently in the API, but it should be. --- Cantera/src/ThermoPhase.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Cantera/src/ThermoPhase.h b/Cantera/src/ThermoPhase.h index 76c3b9521..1aed0afca 100755 --- a/Cantera/src/ThermoPhase.h +++ b/Cantera/src/ThermoPhase.h @@ -463,6 +463,13 @@ namespace Cantera { err("getPartialMolarIntEnergies"); } + /** + * Get the partial molar heat capacities Units: J/kmol/K + */ + virtual void getPartialMolarCp(doublereal* cpbar) const { + err("getPartialMolarCp"); + } + /** * Get the species partial molar volumes. Units: m^3/kmol. */ @@ -895,7 +902,8 @@ namespace Cantera { * have already been read at this point. * For example, we do not need to call this function for * ideal gas equations of state. - * This function is called after the elements and the + * This function is called from importPhase() + * after the elements and the * species are initialized with default ideal solution * level data. *