Go to the documentation of this file.
38 setTimeStepFunctionObject,
104 scalar newDeltaT = timeStepPtr_().value(time_.timeOutputValue());
106 const_cast<Time&
>(time()).setDeltaT(newDeltaT,
false);
119 enabled_.readIfPresent(
"enabled",
dict);
136 <<
"Need to have 'adjustTimeStep' true to enable external"
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling words, derived from string.
virtual bool end()
Called when Time::run() determines that the time-loop exits.
virtual bool execute(const bool forceWrite)
Called at each ++ or += of the time-loop.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
bool read(const char *, int32_t &)
virtual bool start()
Called at the start of the time-loop.
static autoPtr< DataEntry< Type > > New(const word &entryName, const dictionary &dict)
Selector.
setTimeStepFunctionObject(const setTimeStepFunctionObject &)
Disallow default bitwise copy construct.
Switch enabled_
Switch for the execution - defaults to 'yes/on'.
virtual void on()
Switch the function object on.
virtual bool read(const dictionary &)
Read and set the function object if its data have changed.
Mesh consisting of general polyhedral cells.
Abstract base-class for Time/database function objects.
virtual bool adjustTimeStep()
Called at the end of Time::adjustDeltaT() if adjustTime is true.
runTime controlDict().lookup("adjustTimeStep") >> adjustTimeStep
virtual void updateMesh(const mapPolyMesh &mpm)
Update for changes of mesh.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Macros for easy insertion into run-time selection tables.
virtual void movePoints(const polyMesh &mesh)
Update for changes of mesh.
errorManipArg< error, int > exit(error &err, const int errNo=1)
virtual void off()
Switch the function object off.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
defineTypeNameAndDebug(combustionModel, 0)
virtual bool timeSet()
Called when time was set at the end of the Time::operator++.
word name(const complex &)
Return a string representation of a complex.