61 stateFunctionObject& state
64 runTimeCondition(
name, obr,
dict, state),
65 minValue_(
dict.get<scalar>(
"minValue"))
75 bool satisfied =
false;
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
scalar deltaTValue() const noexcept
Return time step value.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Minimum time step condition.
virtual bool apply()
Apply the condition.
minTimeStepCondition(const word &name, const objectRegistry &obr, const dictionary &dict, stateFunctionObject &state)
Constructor.
scalar minValue_
Minimum time step value to compare.
virtual void write()
Write.
virtual void reset()
Reset.
Base class for run time conditions.
bool active_
On/off switch.
const objectRegistry & obr_
Reference to the object registry.
runTimeCondition(const word &name, const objectRegistry &obr, const dictionary &dict, stateFunctionObject &state)
Constructor.
virtual const word & name() const
Return the condition name.
Base class for function objects, adding functionality to read/write state information (data required ...
Registry of regIOobjects.
const Time & time() const noexcept
Return time registry.
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
Function objects are OpenFOAM utilities to ease workflow configurations and enhance workflows.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.