46 using namespace constant::mathematical;
51 0.5*(l2 - l1 - (
sin(
pi*l2) -
sin(
pi*l1))/
pi)/dLinearRampDt()
52 + (t2 -
min(t2, end()));
scalar linearRamp(const scalar t) const
Simple linear ramp function which form the basis of many more.
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.
Linear ramp function starting from 0 and increasing linearRamply to 1 from start over the duration an...
dimensionedScalar sin(const dimensionedScalar &ds)
layerAndWeight min(const layerAndWeight &a, const layerAndWeight &b)
dimensionedScalar cos(const dimensionedScalar &ds)