56 #ifndef timeFunctionObject_H
57 #define timeFunctionObject_H
66 namespace functionObjects
137 virtual bool write();
static const List< word > & null()
Return a null List.
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 list of keyword definitions, which are a keyword followed by any number of values (e....
const word & name() const
Return the name of this functionObject.
functionObject base class for creating, maintaining and writing log files e.g. integrated of averaged...
Specialisation of Foam::functionObject for a region and providing a reference to the region Foam::obj...
Writes run time, CPU time and clock time and optionally the CPU and clock times per time step.
void operator=(const time &)=delete
Disallow default bitwise assignment.
virtual wordList fields() const
Return the list of fields required.
TypeName("time")
Runtime type information.
virtual ~time()
Destructor.
time(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
virtual void writeFileHeader(const label i)
Output file header information.
virtual bool execute()
Execute, currently does nothing.
virtual bool write()
Write the time.
virtual bool read(const dictionary &)
Read the controls.
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.