31 template<
class Specie>
39 rho0_(dict.
subDict(
"equationOfState").
lookup<scalar>(
"rho0")),
40 gamma_(dict.
subDict(
"equationOfState").
lookup<scalar>(
"gamma")),
47 template<
class Specie>
54 dict.
add(
"rho0", rho0_);
55 dict.
add(
"gamma", gamma_);
64 template<
class Specie>
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...
adiabaticPerfectFluid(const Specie &sp, const scalar p0, const scalar rho0, const scalar gamma, const scalar B)
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)
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
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...
Adiabatic perfect fluid equation of state.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
void write(Ostream &os) const
Write to Ostream.