35 #ifndef timeControlFunctionObject_H 36 #define timeControlFunctionObject_H 46 namespace functionObjects
73 label nStepsToStartTimeChange_;
149 virtual bool write();
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 wordList fields() const
Return the list of fields required.
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.
General time control for functionObjects.
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.
virtual bool write()
Called at each ++ or += of the time-loop.
A class for handling words, derived from string.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
TypeName("timeControl")
Runtime type information.
const functionObject & filter() const
Return the functionObject filter.
virtual scalar timeToNextWrite()
Return the time to the next write.
virtual void movePoints(const polyMesh &mesh)
Update topology using the given map.
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.
virtual void topoChange(const polyTopoChangeMap &map)
Update topology using the given map.
Class containing mesh-to-mesh mapping information.
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.
virtual void mapMesh(const polyMeshMap &)
Update from another mesh using the given map.
timeControl(const word &name, const Time &, const dictionary &)
Construct from components.
const Foam::timeControl & writeControl() const
Return the write control object.