39 #ifndef halfCosineRamp_H 40 #define halfCosineRamp_H 57 public Ramp<halfCosineRamp>
83 virtual inline scalar
value(
const scalar t)
const;
Half-cosine ramp function starting from 0 and increasing to 1 from start over the duration and remain...
A list of keyword definitions, which are a keyword followed by any number of values (e...
halfCosineRamp(const word &name, const dictionary &dict)
Construct from name and dictionary.
const word & name() const
Return the name of the entry.
virtual ~halfCosineRamp()
Destructor.
virtual scalar value(const scalar t) const
Return value for time t.
A class for handling words, derived from string.
TypeName("halfCosineRamp")
virtual scalar integral(const scalar t1, const scalar t2) const
Return the integral between times t1 and t2.
void operator=(const halfCosineRamp &)=delete
Disallow default bitwise assignment.
Ramp function base class for the set of scalar functions starting from 0 and increasing monotonically...