35 if (triggers_.empty())
40 const label idx = this->time().functionObjects().triggerIndex();
44 idx ==
labelMin ? defaultValue_ : triggers_.found(idx)
void resetTriggers(const labelUList &indices)
Change the trigger indices.
virtual Type value(const scalar) const
Return 0/1 value at current time.
A traits class, which is primarily used for primitives.
virtual Type integrate(const scalar, const scalar) const
Integrate between two (scalar) values. Not implemented!
Returns a 0/1 value corresponding to function object trigger levels.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
const labelList & triggers() const noexcept
Return the trigger indices.