39 #ifndef quadraticRamp_H
40 #define quadraticRamp_H
57 public Ramp<quadraticRamp>
84 virtual inline scalar
value(
const scalar t)
const;
const word & name() const
Return the name of the entry.
Ramp function base class for the set of scalar functions starting from 0 and increasing monotonically...
Quadratic ramp function starting from 0 and increasing quadratically to 1 from t_0 over the duration ...
virtual scalar value(const scalar t) const
Return value for time t.
virtual scalar integral(const scalar t1, const scalar t2) const
Return the integral between times t1 and t2.
quadraticRamp(const word &name, const unitConversions &units, const dictionary &dict)
Construct from name and dictionary.
virtual ~quadraticRamp()
Destructor.
void operator=(const quadraticRamp &)=delete
Disallow default bitwise assignment.
TypeName("quadraticRamp")
A list of keyword definitions, which are a keyword followed by any number of values (e....
A class for handling words, derived from string.
const HashTable< unitConversion > & units()
Get the table of unit conversions.