33 t0_ = coeffs.lookupOrDefault<scalar>(
"t0", 0);
44 const word& entryName,
59 amplitude_(se.amplitude_, false),
60 frequency_(se.frequency_, false),
61 scale_(se.scale_, false),
62 level_(se.level_, false)
83 amplitude_->writeData(os);
84 frequency_->writeData(os);
85 scale_->writeData(os);
86 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.
Sine(const word &entryName, const dictionary &dict)
Construct from entry name and dictionary.
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual ~Sine()
Destructor.
const word & name() const
Return the name of the entry.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Templated sine function with support for an offset level.
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.
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
virtual void writeData(Ostream &os) const
Write in dictionary format.
Ostream & incrIndent(Ostream &os)
Increment the indent level.