28 GeneralSpeciesThermo::GeneralSpeciesThermo() :
41 m_tlow_max(b.m_tlow_max),
42 m_thigh_min(b.m_thigh_min),
46 for (
size_t k = 0; k <
m_kk; k++) {
61 for (
size_t k = 0; k <
m_kk; k++) {
70 for (
size_t k = 0; k <
m_kk; k++) {
82 for (
size_t k = 0; k <
m_kk; k++) {
113 doublereal refPressure)
120 m_sp.resize(index+1, 0);
163 "GeneralSpeciesThermo::install",
164 "unknown species type",
int2str(type));
168 cout <<
"Null m_sp... index = " << index << endl;
169 cout <<
"type = " << type << endl;
188 throw CanteraError(
"GeneralSpeciesThermo::install_STIT",
193 m_sp.resize(index+1, 0);
197 "Index position isn't null, duplication of assignment: " +
int2str(index));
201 m_sp[index] = stit_ptr;
227 doublereal* h_RT, doublereal* s_R)
const
241 doublereal* h_RT, doublereal* s_R)
const
243 vector<SpeciesThermoInterpType*>::const_iterator _begin, _end;
244 _begin =
m_sp.begin();
247 for (; _begin != _end; ++_begin) {
279 doublereal& minTemp, doublereal& maxTemp, doublereal& refPressure)
const
287 throw CanteraError(
"GeneralSpeciesThermo::reportParams",
288 "Internal error encountered");
363 #ifdef H298MODIFY_CAPABILITY
365 doublereal GeneralSpeciesThermo::reportOneHf298(
int k)
const
370 h = sp_ptr->reportHf298(0);
375 void GeneralSpeciesThermo::modifyOneHf298(
const int k,
const doublereal Hf298New)
377 SpeciesThermoInterpType* sp_ptr =
m_sp[k];
379 sp_ptr->modifyOneHf298(k, Hf298New);