31 template<
class Specie>
35 rho_(dict.subDict(
"equationOfState").
lookup<scalar>(
"rho"))
41 template<
class Specie>
47 dict.
add(
"rho", rho_);
55 template<
class Specie>
56 Foam::Ostream& Foam::operator<<(Ostream& os, const rhoConst<Specie>& rc)
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...
void write(Ostream &os) const
Write to Ostream.
rhoConst(const Specie &sp, const scalar rho)
Construct from components.
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...