33 namespace functionObjects
82 time_.writeIntervalUnits(),
92 const_cast<Time&
>(time_).setWriteInterval
94 writeIntervalPtr_().value(time_.value())
Macros for easy insertion into run-time selection tables.
static autoPtr< Function1< Type > > New(const word &name, const Function1s::unitConversions &units, const dictionary &dict)
Select from dictionary.
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 bool)
Return a word representation of a bool.