98 const word& entryName,
111 inline virtual scalar
value(
const scalar t)
const;
ramp(const word &entryName, const dictionary &dict, const objectRegistry *obrPtr=nullptr)
Construct from entry name, dictionary and optional registry.
TypeName("reverseRamp")
Runtime type information.
virtual scalar value(const scalar t) const
Return value for time t.
virtual ~reverseRamp()=default
Destructor.
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.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.