31 template<
class equationOfState>
43 "janafThermo<equationOfState>::janafThermo(Istream& is)",
45 ) <<
"Tlow(" << Tlow_ <<
") >= Thigh(" << Thigh_ <<
')'
49 if (Tcommon_ <= Tlow_)
53 "janafThermo<equationOfState>::janafThermo(Istream& is)",
55 ) <<
"Tcommon(" << Tcommon_ <<
") <= Tlow(" << Tlow_ <<
')'
59 if (Tcommon_ > Thigh_)
63 "janafThermo<equationOfState>::janafThermo(Istream& is)",
65 ) <<
"Tcommon(" << Tcommon_ <<
") > Thigh(" << Thigh_ <<
')'
71 register label coefLabel=0;
72 coefLabel<janafThermo<equationOfState>::nCoeffs_;
76 is >> highCpCoeffs_[coefLabel];
81 register label coefLabel=0;
82 coefLabel<janafThermo<equationOfState>::nCoeffs_;
86 is >> lowCpCoeffs_[coefLabel];
90 is.
check(
"janafThermo::janafThermo(Istream& is)");
96 template<
class equationOfState>
103 os << static_cast<const equationOfState&>(jt) <<
nl
106 <<
tab << jt.Tcommon_;
112 register label coefLabel=0;
113 coefLabel<janafThermo<equationOfState>::nCoeffs_;
117 os << jt.highCpCoeffs_[coefLabel] <<
' ';
124 register label coefLabel=0;
125 coefLabel<janafThermo<equationOfState>::nCoeffs_;
129 os << jt.lowCpCoeffs_[coefLabel] <<
' ';
136 "operator<<(Ostream& os, const janafThermo<equationOfState>& jt)"