Go to the documentation of this file.
39 #ifndef functionObjects_runTimeControls_minMaxCondition_H
40 #define functionObjects_runTimeControls_minMaxCondition_H
49 namespace functionObjects
51 namespace runTimeControls
96 const word& valueType,
97 const word& fieldName,
123 virtual bool apply();
126 virtual void write();
132 void minMaxCondition::setValue<Foam::scalar>
134 const word& valueType,
135 const word& fieldName,
virtual bool apply()
Apply the condition.
virtual const word & name() const
Return the condition name.
Base class for run time conditions.
A class for handling words, derived from Foam::string.
Base class for function objects, adding functionality to read/write state information (data required ...
word functionObjectName_
Name of function object to retrueve data from.
minMaxCondition(const word &name, const objectRegistry &obr, const dictionary &dict, stateFunctionObject &state)
Constructor.
static const Enum< modeType > modeTypeNames_
virtual ~minMaxCondition()=default
Destructor.
virtual void write()
Write.
Registry of regIOobjects.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
TypeName("minMax")
Runtime type information.
const scalar value_
Value to compare.
const wordList fieldNames_
Field names.
void setValue(const word &valueType, const word &fieldName, scalar &value) const
Helper function to retrieve the value from the state dictionary.