31 template<
class Specie>
39 p0_(
dict.subDict(
"equationOfState").lookup<scalar>(
"p0")),
40 rho0_(
dict.subDict(
"equationOfState").lookup<scalar>(
"rho0")),
41 gamma_(
dict.subDict(
"equationOfState").lookup<scalar>(
"gamma")),
42 B_(
dict.subDict(
"equationOfState").lookup<scalar>(
"B"))
48 template<
class Specie>
65 template<
class Specie>
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual Ostream & write(const char)=0
Write character.
Adiabatic perfect fluid equation of state for liquids:
adiabaticPerfectFluid(const Specie &sp, const scalar p0, const scalar rho0, const scalar gamma, const scalar B)
Construct from components.
void write(Ostream &os) const
Write to Ostream.
const word dictName() const
Return the local dictionary name (final part of scoped name)
A list of keyword definitions, which are a keyword followed by any number of values (e....
bool add(entry *, bool mergeEntry=false)
Add a new entry.
A class for handling words, derived from string.
void write(std::ostream &os, const bool binary, List< floatScalar > &fField)
Write floats ascii or binary.
word name(const bool)
Return a word representation of a bool.
Ostream & indent(Ostream &os)
Indent stream.