30 template<
class Function1Type>
39 start_(
dict.lookupOrDefault<scalar>(
"start",
units.
x, 0)),
40 duration_(
dict.lookup<scalar>(
"duration",
units.
x))
46 template<
class Function1Type>
53 template<
class Function1Type>
Ramp(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.
virtual ~Ramp()
Destructor.
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)
word name(const bool)
Return a word representation of a bool.
const HashTable< unitConversion > & units()
Get the table of unit conversions.