73 Nasa9PolyMultiTempRegion::Nasa9PolyMultiTempRegion() :
114 throw CanteraError(
"Nasa9PolyMultiTempRegion::Nasa9PolyMultiTempRegion",
115 "m_index inconsistency");
118 throw CanteraError(
"Nasa9PolyMultiTempRegion::Nasa9PolyMultiTempRegion",
119 "refPressure inconsistency");
123 throw CanteraError(
"Nasa9PolyMultiTempRegion::Nasa9PolyMultiTempRegion",
124 "minTemp bounds inconsistency");
127 throw CanteraError(
"Nasa9PolyMultiTempRegion::Nasa9PolyMultiTempRegion",
128 "Temp bounds inconsistency");
144 m_numTempRegions(b.m_numTempRegions),
145 m_lowerTempBounds(b.m_lowerTempBounds),
146 m_currRegion(b.m_currRegion)
260 doublereal* s_R)
const
268 throw CanteraError(
"Nasa9PolyMultiTempRegion::updateProperties",
274 throw CanteraError(
"Nasa9PolyMultiTempRegion::updateProperties",
309 doublereal* cp_R, doublereal* h_RT,
310 doublereal* s_R)
const
314 tPoly[1] = temp * temp;
315 tPoly[2] = tPoly[1] * temp;
316 tPoly[3] = tPoly[2] * temp;
317 tPoly[4] = 1.0 / temp;
318 tPoly[5] = tPoly[4] / temp;
319 tPoly[6] = std::log(temp);
347 doublereal& tlow, doublereal& thigh,
349 doublereal*
const coeffs)
const
361 double pref_tmp = 0.0;
363 m_regionPts[iReg]->reportParameters(n_tmp, type_tmp,
364 coeffs[index], coeffs[index+1],
366 for (
int i = 0; i < 9; i++) {
367 coeffs[index+2+i] = ctmp[3+i];
383 m_regionPts[iReg]->modifyParameters(coeffs + index);