31 template<
class EquationOfState>
34 EquationOfState(dict),
35 Cv_(dict.subDict(
"thermodynamics").
lookup<scalar>(
"Cv")),
36 Hf_(dict.subDict(
"thermodynamics").
lookup<scalar>(
"Hf")),
37 Tref_(dict.subDict(
"thermodynamics").lookupOrDefault<scalar>(
"Tref",
Tstd)),
38 Esref_(dict.subDict(
"thermodynamics").lookupOrDefault<scalar>(
"Esref", 0))
44 template<
class EquationOfState>
54 dict.
add(
"Tref", Tref_);
58 dict.
add(
"Esref", Esref_);
66 template<
class EquationOfState>
virtual Ostream & write(const char)=0
Write character.
Ostream & indent(Ostream &os)
Indent stream.
A list of keyword definitions, which are a keyword followed by any number of values (e...
const dimensionedScalar & Tstd
Standard temperature.
Constant properties thermodynamics package templated on an equation of state.
bool add(entry *, bool mergeEntry=false)
Add a new entry.
const word dictName() const
Return the local dictionary name (final part of scoped name)
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
stressControl lookup("compactNormalStress") >> compactNormalStress
void write(std::ostream &os, const bool binary, List< floatScalar > &fField)
Write floats ascii or binary.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
void write(Ostream &os) const
Write to Ostream.