37namespace functionObjects
39namespace runTimeControls
55Foam::functionObjects::runTimeControls::minTimeStepCondition::
65 minValue_(
dict.get<scalar>(
"minValue"))
75 bool satisfied =
false;
82 if (obr_.time().deltaTValue() < minValue_)
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
virtual scalar userTimeToTime(const scalar theta) const
Convert the user-time (e.g. CA deg) to real-time (s).
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.
scalar minValue_
Minimum time step value to compare.
virtual void write()
Write.
virtual void reset()
Reset.
Base class for run time conditions.
const objectRegistry & obr_
Reference to the object registry.
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.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.