33inline bool Foam::Function1Types::FunctionObjectTrigger<Type>::active()
const
35 if (triggers_.empty())
40 const label idx = this->time().functionObjects().triggerIndex();
44 idx ==
labelMin ? defaultValue_ : triggers_.found(idx)
virtual Type value(const scalar) const
Return 0/1 value at current time.
const labelList & triggers() const noexcept
Return the trigger indices.
virtual Type integrate(const scalar, const scalar) const
Integrate between two (scalar) values. Not implemented!
void resetTriggers(const labelUList &indices)
Change the trigger indices.
A traits class, which is primarily used for primitives and vector-space.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
List< label > labelList
A List of labels.
UList< label > labelUList
A UList of labels.