Go to the documentation of this file.
33 template<
class Specie>
40 p0_(
dict.subDict(
"equationOfState").
get<scalar>(
"p0")),
41 rho0_(
dict.subDict(
"equationOfState").
get<scalar>(
"rho0")),
42 gamma_(
dict.subDict(
"equationOfState").
get<scalar>(
"gamma")),
43 B_(
dict.subDict(
"equationOfState").
get<scalar>(
"B"))
49 template<
class Specie>
56 os.beginBlock(
"equationOfState");
57 os.writeEntry(
"p0", p0_);
58 os.writeEntry(
"rho0", rho0_);
59 os.writeEntry(
"gamma", gamma_);
60 os.writeEntry(
"B", B_);
68 template<
class Specie>
72 const adiabaticPerfectFluid<Specie>& pf
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
Adiabatic perfect fluid equation of state.
void write(Ostream &os) const
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
virtual bool write(const token &tok)=0
void write(vtk::formatter &fmt, const Type &val, const label n=1)
List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
adiabaticPerfectFluid(const Specie &sp, const scalar p0, const scalar rho0, const scalar gamma, const scalar B)