72 #ifndef functionObjects_setTimeStepFunctionObject_H 73 #define functionObjects_setTimeStepFunctionObject_H 82 namespace functionObjects
89 class setTimeStepFunctionObject
91 public functionObjects::timeFunctionObject
96 autoPtr<Function1<scalar>> timeStepPtr_;
102 setTimeStepFunctionObject(
const setTimeStepFunctionObject&) =
delete;
105 void operator=(
const setTimeStepFunctionObject&) =
delete;
117 setTimeStepFunctionObject
141 virtual bool write();
virtual ~setTimeStepFunctionObject()=default
TypeName("setTimeStep")
Runtime type information.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual bool adjustTimeStep()
Called at the end of Time::adjustDeltaT() if adjustTime is true.
virtual bool write()
Write does nothing.
virtual bool execute()
Execute does nothing.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
const word & name() const noexcept
Return the name of this functionObject.
virtual bool read(const dictionary &dict)
Read and set the function object if its data have changed.
A class for handling words, derived from Foam::string.