41 start_(
dict.lookupOrDefault<scalar>(
"start",
units.
x, 0)),
43 markSpace_(
dict.lookupOrDefault<scalar>(
"markSpace",
unitless, 1)),
44 integrable_(amplitude_->constant() && level_->constant())
52 amplitude_(se.amplitude_, false),
53 frequency_(se.frequency_),
55 level_(se.level_, false),
56 markSpace_(se.markSpace_),
57 integrable_(se.integrable_)
Run-time selectable general function of one variable.
Templated square-wave function with support for an offset level.
virtual ~Square()
Destructor.
Square(const word &name, const unitConversions &units, const dictionary &dict)
Construct from name and dictionary.
virtual void write(Ostream &os, const unitConversions &units) const
Write data to dictionary stream.
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