34 template<
class EquationOfState>
40 EquationOfState(
dict),
41 Hf_(
dict.subDict(
"thermodynamics").
get<scalar>(
"Hf")),
42 Sf_(
dict.subDict(
"thermodynamics").
get<scalar>(
"Sf")),
43 Cp_(
"Cp",
dict.subDict(
"thermodynamics"))
49 template<
class EquationOfState>
59 os.beginBlock(
"thermodynamics");
60 os.writeEntry(
"Hf", Hf_);
61 os.writeEntry(
"Sf", Sf_);
62 os.writeEntry(
"Cp", Cp_);
70 template<
class EquationOfState>
74 const hTabulatedThermo<EquationOfState>& pt
List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)
List of values generated by applying the access operation to each list item.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
hTabulatedThermo(const dictionary &dict)
Construct from dictionary.
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
void write(vtk::formatter &fmt, const Type &val, const label n=1)
Component-wise write of a value (N times)
virtual bool write(const token &tok)=0
Write token to stream or otherwise handle it.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
void write(Ostream &os) const
Write to Ostream.