33 t0_ = coeffs.lookupOrDefault<scalar>(
"t0", 0);
34 markSpace_ = coeffs.lookupOrDefault<scalar>(
"markSpace", 1);
45 const word& entryName,
60 markSpace_(se.markSpace_),
61 amplitude_(se.amplitude_, false),
62 frequency_(se.frequency_, false),
63 scale_(se.scale_, false),
64 level_(se.level_, false)
86 amplitude_->writeData(os);
87 frequency_->writeData(os);
88 scale_->writeData(os);
89 level_->writeData(os);
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
Ostream & indent(Ostream &os)
Indent stream.
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual void writeData(Ostream &os) const
Write in dictionary format.
const word & name() const
Return the name of the entry.
Ostream & endl(Ostream &os)
Add newline and flush stream.
virtual ~Square()
Destructor.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
virtual void writeData(Ostream &os) const
Write in dictionary format.
A class for handling words, derived from string.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
Ostream & decrIndent(Ostream &os)
Decrement the indent level.
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
Templated square-wave function with support for an offset level.
Ostream & incrIndent(Ostream &os)
Increment the indent level.
Square(const word &entryName, const dictionary &dict)
Construct from entry name and dictionary.