Go to the documentation of this file.
36 t0_ = coeffs.getOrDefault<scalar>(
"t0", 0);
47 const word& entryName,
62 amplitude_(se.amplitude_.clone()),
63 frequency_(se.frequency_.clone()),
64 scale_(se.scale_.clone()),
65 level_(se.level_.clone())
80 amplitude_->writeData(os);
81 frequency_->writeData(os);
82 scale_->writeData(os);
83 level_->writeData(os);
A class for handling words, derived from Foam::string.
Sine(const word &entryName, const dictionary &dict)
Construct from entry name and dictionary.
Templated sine function with support for an offset level.
virtual Ostream & beginBlock(const keyType &kw)
Write begin block group with the given name.
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
word name(const complex &c)
Return string representation of complex.
virtual void writeData(Ostream &os) const
Write in dictionary format.
virtual Ostream & endEntry()
Write end entry (';') followed by newline.
virtual Ostream & endBlock()
Write end block group.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual void writeData(Ostream &os) const
Write in dictionary format.