Go to the documentation of this file.
37 #ifndef minMaxCondition_H
38 #define minMaxCondition_H
90 const word& valueType,
91 const word& fieldName,
117 virtual bool apply();
120 virtual void write();
126 void minMaxCondition::setValue<Foam::scalar>
128 const word& valueType,
129 const word& fieldName,
Base class for run time conditions.
A class for handling words, derived from string.
virtual bool apply()
Apply the condition.
word functionObjectName_
Name of function object to retrueve data from.
const scalar value_
Value to compare.
Base class for function objects, adding functionality to read/write state information (data required ...
const wordList fieldNames_
Field names.
virtual void write()
Write.
Registry of regIOobjects.
virtual const word & name() const
Return the condition name.
virtual ~minMaxCondition()
Destructor.
minMaxCondition(const word &name, const objectRegistry &obr, const dictionary &dict, functionObjectState &state)
Constructor.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Minimum/maximum run time conditions. If the value type is not scalar, the magnitude of the value is u...
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
static const NamedEnum< modeType, 2 > modeTypeNames_
void setValue(const word &valueType, const word &fieldName, scalar &value) const
Helper function to retrieve the value from the state dictionary.
TypeName("minMax")
Runtime type information.