33 namespace functionObjects
85 const_cast<Time&
>(time_).setWriteInterval
87 time_.userTimeToTime(writeIntervalPtr_().value(time_.userTimeValue()))
Macros for easy insertion into run-time selection tables.
static autoPtr< Function1< Type > > New(const word &name, const dictionary &dict)
Selector.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Abstract base-class for Time/database functionObjects.
Updates the writeInterval as a Function1 of time.
setWriteIntervalFunctionObject(const word &name, const Time &runTime, const dictionary &dict)
Construct from components.
virtual ~setWriteIntervalFunctionObject()
virtual bool execute()
Reset the writeInterval from the Function1 of time.
virtual bool write()
Do nothing.
virtual bool read(const dictionary &)
Read and reset the writeInterval Function1.
A class for handling words, derived from string.
defineTypeNameAndDebug(adjustTimeStepToCombustion, 0)
addToRunTimeSelectionTable(functionObject, adjustTimeStepToCombustion, dictionary)
word name(const complex &)
Return a string representation of a complex.