From e050c6fc1065578dc731b1190be9826bf9f83449 Mon Sep 17 00:00:00 2001 From: Harry Moffat Date: Mon, 24 Oct 2005 22:13:52 +0000 Subject: [PATCH] Forgot the member function getCp_R_ref() in the previous commit. This commit adds that function. --- Cantera/src/thermo/SingleSpeciesTP.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Cantera/src/thermo/SingleSpeciesTP.cpp b/Cantera/src/thermo/SingleSpeciesTP.cpp index 592041c3d..6c3072474 100644 --- a/Cantera/src/thermo/SingleSpeciesTP.cpp +++ b/Cantera/src/thermo/SingleSpeciesTP.cpp @@ -331,6 +331,16 @@ namespace Cantera { er[0] = m_s0_R[0]; } + /** + * Get the nondimensional Gibbs functions for the standard + * state of the species at the current T and reference pressure + * for the species. + */ + void SingleSpeciesTP::getCp_R_ref(doublereal* cpr) const { + _updateThermo(); + cpr[0] = m_cp0_R[0]; + } + /* * ------------------ Setting the State ------------------------