46 using namespace constant::mathematical;
52 + (t2 -
min(t2, end()));
Linear ramp function starting from 0 and increasing linearRamply to 1 from start over the duration an...
dimensionedScalar cos(const dimensionedScalar &ds)
virtual scalar value(const scalar t) const
Return value for time t.
dimensionedScalar sin(const dimensionedScalar &ds)
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
virtual scalar integral(const scalar t1, const scalar t2) const
Return the integral between times t1 and t2.
const scalar piByTwo(0.5 *pi)