48 const word& entryName,
53 ramp(entryName,
dict),
54 minValue_(
dict.getOrDefault<scalar>(
"minValue",
Zero)),
55 interval_(
dict.get<scalar>(
"interval")),
56 steps_(duration_/interval_)
#define makeScalarFunction1(SS)
Macros for easy insertion into run-time selection tables.
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.
Reverse ramp function starting from 1 and decreasing stepRamply to a min. user-specified value from s...
scalar steps_
Steps to reach the min. value.
scalar minValue_
The min value.
scalar interval_
Interval for reducing the base value.
reverseRamp(const word &entryName, const dictionary &dict, const objectRegistry *obrPtr=nullptr)
Construct from entry 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.
static constexpr const zero Zero
Global zero (0).