49 #ifndef functionObjects_setTimeStepFunctionObject_H
50 #define functionObjects_setTimeStepFunctionObject_H
60 namespace functionObjects
116 virtual bool write();
static const List< word > & null()
Return a null List.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keyword definitions, which are a keyword followed by any number of values (e....
Abstract base-class for Time/database functionObjects.
const word & name() const
Return the name of this functionObject.
Updates the time step as a Function1 of time.
virtual wordList fields() const
Return the list of fields required.
setTimeStepFunctionObject(const word &name, const Time &runTime, const dictionary &dict)
Construct from components.
virtual ~setTimeStepFunctionObject()
TypeName("setTimeStep")
Runtime type information.
void operator=(const setTimeStepFunctionObject &)=delete
Disallow default bitwise assignment.
virtual bool execute()
Reset the timeStep from the Function1 of time.
virtual bool write()
Do nothing.
virtual bool read(const dictionary &)
Read and reset the timeStep Function1.
A class for handling words, derived from string.