41 start_(
dict.lookupOrDefault<scalar>(
"start", units.
x, 0)),
43 markSpace_(
dict.lookupOrDefault<scalar>(
"markSpace", units::
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.
virtual void write(Ostream &os, const unitSets &units) const
Write data to dictionary stream.
Square(const word &name, const unitSets &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 keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
A class for handling words, derived from string.
void writeEntry(Ostream &os, const omega &a)
const unitSet & lookup(const word &unitName)
Lookup and return the named unit from the table.
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
tmp< DimensionedField< TypeR, GeoMesh, Field > > New(const tmp< DimensionedField< TypeR, GeoMesh, Field >> &tdf1, const word &name, const dimensionSet &dimensions)
Struct containing two unitSets for use in converting both the argument and the value of a Function1.
unitSet x
Unit conversion for x-axis values.