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)),
Computes the natural logarithm of an input volScalarField.
defineRunTimeSelectionTable(runTimeCondition, dictionary)
word name_
Condition name.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
entry * add(entry *entryPtr, bool mergeEntry=false)
Add a new entry.
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)
bool found(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find an entry (const access) with the given keyword.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
A class for handling words, derived from Foam::string.
defineTypeNameAndDebug(averageCondition, 0)
stateFunctionObject & state_
State.
dictionary & propertyDict()
Return access to the property dictionary.
runTimeCondition(const word &name, const objectRegistry &obr, const dictionary &dict, stateFunctionObject &state)
Constructor.
Base class for function objects, adding functionality to read/write state information (data required ...
virtual bool active() const
Return the active flag.
virtual label groupID() const
Return the group index.
Registry of regIOobjects.
const dictionary & conditionDict() const
Return const access to the conditions dictionary.
virtual const word & name() const
Return the condition name.