41 start_(
dict.lookupOrDefault<scalar>(
"start",
units.
x, 0)),
43 integrable_(amplitude_->constant() && level_->constant())
51 amplitude_(se.amplitude_, false),
52 frequency_(se.frequency_),
54 level_(se.level_, false),
55 integrable_(se.integrable_)
Run-time selectable general function of one variable.
Templated sine function with support for an offset level.
virtual ~Sine()
Destructor.
virtual void write(Ostream &os, const unitConversions &units) const
Write data to dictionary stream.
Sine(const word &name, const unitConversions &units, const dictionary &dict)
Construct from name and dictionary.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of keyword definitions, which are a keyword followed by any number of values (e....
A class for handling words, derived from string.
void writeEntry(Ostream &os, const omega &a)
autoPtr< CompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const viscosity &viscosity)
word name(const bool)
Return a word representation of a bool.
const HashTable< unitConversion > & units()
Get the table of unit conversions.
const unitConversion unitless