45 const word& entryName,
50 ramp(entryName,
dict, obrPtr),
51 interval_(
dict.get<scalar>(
"interval")),
52 steps_(
max(floor(duration_/interval_), scalar(1)))
#define makeScalarFunction1(SS)
ramp(const word &entryName, const dictionary &dict, const objectRegistry *obrPtr=nullptr)
Construct from entry name, dictionary and optional registry.
scalar duration_
Duration of the ramp function.
Linear ramp function starting from 0 and increasing stepRamply to 1 from start over the duration and ...
stepRamp(const word &entryName, const dictionary &dict, const objectRegistry *obrPtr=nullptr)
Construct from entry name and dictionary.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Registry of regIOobjects.
A class for handling words, derived from Foam::string.
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.