40 #ifndef timeControlFunctionObject_H 41 #define timeControlFunctionObject_H 51 namespace functionObjects
78 label nStepsToStartTimeChange_;
151 virtual bool write();
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const word & name() const
Return the name of this functionObject.
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual bool executeAtStart() const
Return true if the functionObject should be executed.
virtual bool execute()
Called at each ++ or += of the time-loop.
void operator=(const timeControl &)=delete
Disallow default bitwise assignment.
const Foam::timeControl & executeControl() const
Return the execute control object.
Abstract base-class for Time/database functionObjects.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
virtual bool write()
Called at each ++ or += of the time-loop.
A class for handling words, derived from string.
TypeName("timeControl")
Runtime type information.
const functionObject & filter() const
Return the functionObject filter.
virtual void updateMesh(const mapPolyMesh &mpm)
Update for changes of mesh.
virtual scalar timeToNextWrite()
Return the time to the next write.
virtual void movePoints(const polyMesh &mesh)
Update for changes of mesh.
const Time & time() const
Return time database.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Mesh consisting of general polyhedral cells.
General time dependent execution controller. The default to execute every time-step.
virtual bool read(const dictionary &)
Read and set the function object if its data have changed.
virtual bool end()
Called when Time::run() determines that the time-loop exits.
timeControl(const word &name, const Time &, const dictionary &)
Construct from components.
const Foam::timeControl & writeControl() const
Return the write control object.