Go to the documentation of this file.
61 #ifndef Function1Types_FunctionObjectTrigger_H
62 #define Function1Types_FunctionObjectTrigger_H
71 namespace Function1Types
79 class FunctionObjectTrigger
81 public Function1<Type>
96 inline bool active()
const;
148 virtual inline Type
value(const scalar ) const;
151 virtual inline Type
integrate(const scalar, const scalar) const;
168 #include "FunctionObjectTriggerI.H"
List< label > labelList
A List of labels.
A class for handling words, derived from Foam::string.
A class for managing temporary objects.
const word const dictionary & dict
virtual void writeData(Ostream &os) const
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
virtual ~FunctionObjectTrigger()=default
Registry of regIOobjects.
const word const dictionary const objectRegistry * obrPtr
const labelList & triggers() const noexcept
void resetTriggers(const labelUList &indices)
virtual Type value(const scalar) const
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
Returns a 0/1 value corresponding to function object trigger levels.
void writeEntries(Ostream &os) const
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
void operator=(const FunctionObjectTrigger< Type > &)=delete
virtual Type integrate(const scalar, const scalar) const
virtual tmp< Function1< Type > > clone() const
TypeName("functionObjectTrigger")
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
FunctionObjectTrigger(const word &entryName, const dictionary &dict, const objectRegistry *obrPtr=nullptr)