Cantera  2.5.1
SpeciesThermoInterpType.cpp
Go to the documentation of this file.
1 /**
2  * @file SpeciesThermoInterpType.cpp
3  */
4 
5 // This file is part of Cantera. See License.txt in the top-level directory or
6 // at https://cantera.org/license.txt for license and copyright information.
7 
9 #include "cantera/thermo/PDSS.h"
10 
11 namespace Cantera
12 {
13 
14 SpeciesThermoInterpType::SpeciesThermoInterpType() :
15  m_lowT(0.0),
16  m_highT(0.0),
17  m_Pref(0.0)
18 {
19 }
20 
21 SpeciesThermoInterpType::SpeciesThermoInterpType(double tlow,
22  double thigh,
23  double pref) :
24  m_lowT(tlow),
25  m_highT(thigh),
26  m_Pref(pref)
27 {
28 }
29 
30 void SpeciesThermoInterpType::updateProperties(const doublereal* tempPoly,
31  doublereal* cp_R, doublereal* h_RT, doublereal* s_R) const
32 {
33  double T = tempPoly[0];
34  updatePropertiesTemp(T, cp_R, h_RT, s_R);
35 }
36 
37 void SpeciesThermoInterpType::updatePropertiesTemp(const double temp,
38  double* cp_R, double* h_RT, double* s_R) const
39 {
40  throw NotImplementedError("SpeciesThermoInterpType::updatePropertiesTemp");
41 }
42 
43 size_t SpeciesThermoInterpType::nCoeffs() const
44 {
45  throw NotImplementedError("SpeciesThermoInterpType::nCoeffs");
46 }
47 
48 void SpeciesThermoInterpType::reportParameters(size_t& index, int& type,
49  double& minTemp, double& maxTemp, double& refPressure,
50  double* const coeffs) const
51 {
52  throw NotImplementedError("SpeciesThermoInterpType::reportParameters");
53 }
54 
55 doublereal SpeciesThermoInterpType::reportHf298(doublereal* const h298) const
56 {
57  throw NotImplementedError("SpeciesThermoInterpType::reportHf298");
58 }
59 
60 void SpeciesThermoInterpType::modifyOneHf298(const size_t k,
61  const doublereal Hf298New)
62 {
63  throw NotImplementedError("SpeciesThermoInterpType::modifyOneHf298");
64 }
65 
66 }
Declarations for the virtual base class PDSS (pressure dependent standard state) which handles calcul...
Pure Virtual Base class for individual species reference state thermodynamic managers and text for th...
An error indicating that an unimplemented function has been called.
Definition: ctexceptions.h:187
Namespace for the Cantera kernel.
Definition: AnyMap.cpp:264