31 template<
class EquationOfState>
40 is.
check(
"hRefConstThermo::hRefConstThermo(Istream& is)");
48 template<
class EquationOfState>
51 EquationOfState(dict),
65 template<
class EquationOfState>
71 dict.
add(
"Cp", Cp_/this->W());
72 dict.
add(
"Hf", Hf_/this->W());
73 dict.
add(
"Tref", Tref_);
74 dict.
add(
"Href", Href_/this->W());
81 template<
class EquationOfState>
88 os << static_cast<const EquationOfState&>(ct) <<
tab 89 << ct.Cp_/ct.W() <<
tab << ct.Hf_/ct.W() <<
tab 90 << ct.Tref_ <<
tab << ct.Href_/ct.W();
92 os.check(
"Ostream& operator<<(Ostream& os, const hRefConstThermo& ct)");
Ostream & indent(Ostream &os)
Indent stream.
A list of keyword definitions, which are a keyword followed by any number of values (e...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
const word dictName() const
Return the local dictionary name (final part of scoped name)
virtual bool check(const char *operation) const
Check IOstream status for given operation.
bool add(entry *, bool mergeEntry=false)
Add a new entry.
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
stressControl lookup("compactNormalStress") >> compactNormalStress
bool readScalar(const char *buf, doubleScalar &s)
Read whole of buf as a scalar. Return true if succesful.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
Constant properties thermodynamics package templated into the EquationOfState.
void write(Ostream &os) const
Write to Ostream.