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...
virtual scalar integral(const scalar t1, const scalar t2) const
Return the integral between times t1 and t2.
dimensionedScalar cos(const dimensionedScalar &ds)
layerAndWeight min(const layerAndWeight &a, const layerAndWeight &b)
dimensionedScalar sin(const dimensionedScalar &ds)
const scalar piByTwo(0.5 *pi)
virtual scalar value(const scalar t) const
Return value for time t.