34 t0_ = coeffs.lookupOrDefault<scalar>(
"t0", 0);
45 const word& entryName,
60 amplitude_(se.amplitude_, false),
61 frequency_(se.frequency_, false),
62 scale_(se.scale_, false),
63 level_(se.level_, false)
95 amplitude_->writeData(os);
96 frequency_->writeData(os);
97 scale_->writeData(os);
98 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.
Type value(const scalar t) const
Return value for time t.
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.
const scalar twoPi(2 *pi)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
dimensionedScalar sin(const dimensionedScalar &ds)
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.