Go to the documentation of this file.
35 namespace functionObjects
37 namespace runTimeControls
64 return conditionDict_;
71 return conditionDict_;
88 active_(
dict.getOrDefault(
"active",
true)),
89 conditionDict_(setConditionDict()),
90 groupID_(
dict.getOrDefault(
"groupID", -1)),
91 log(
dict.getOrDefault(
"log",
true))
defineTypeNameAndDebug(averageCondition, 0)
virtual const word & name() const
Return the condition name.
dictionary & propertyDict()
Return access to the property dictionary.
A class for handling words, derived from Foam::string.
bool found(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Search for an entry (const access) with the given keyword.
Base class for function objects, adding functionality to read/write state information (data required ...
stateFunctionObject & state_
State.
Registry of regIOobjects.
const dictionary & conditionDict() const
Return const access to the conditions dictionary.
defineRunTimeSelectionTable(runTimeCondition, dictionary)
const dictionary & subDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a sub-dictionary.
dictionary & setConditionDict()
Set the condition dictionary (create if necessary)
runTimeCondition(const word &name, const objectRegistry &obr, const dictionary &dict, stateFunctionObject &state)
Constructor.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
dimensionedScalar log(const dimensionedScalar &ds)
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
entry * add(entry *entryPtr, bool mergeEntry=false)
Add a new entry.
virtual label groupID() const
Return the group index.
word name_
Condition name.
virtual bool active() const
Return the active flag.