33 namespace functionObjects
40 setTimeStepFunctionObject,
49 Foam::functionObjects::setTimeStepFunctionObject::setTimeStepFunctionObject
80 const_cast<Time&
>(
time()).setDeltaTNoAdjust
82 timeStepPtr_().value(time_.timeOutputValue())
103 time().controlDict().lookupOrDefault(
"adjustTimeStep",
false);
107 return setTimeStep();
virtual ~setTimeStepFunctionObject()
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual bool write()
Called at each ++ or += of the time-loop.
Abstract base-class for Time/database function objects.
virtual bool execute()
Called at each ++ or += of the time-loop.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Macros for easy insertion into run-time selection tables.
bool read(const char *, int32_t &)
A class for handling words, derived from string.
virtual bool read(const dictionary &)
Read and set the function object if its data have changed.
const Time & time() const
Return time database.
Writes run time, CPU time and clock time and optionally the CPU and clock times per time step...
defineTypeNameAndDebug(fvMeshFunctionObject, 0)
virtual bool setTimeStep()
Override the time-step value.
static autoPtr< Function1< Type > > New(const word &entryName, const dictionary &dict)
Selector.
addToRunTimeSelectionTable(functionObject, add, dictionary)