Go to the documentation of this file.
69 #ifndef functionObjects_timeInfo_H
70 #define functionObjects_timeInfo_H
79 namespace functionObjects
88 public timeFunctionObject,
147 virtual bool write();
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling words, derived from Foam::string.
Virtual base class for function objects with a reference to Time.
virtual void writeFileHeader(Ostream &os)
Output file header information.
timeInfo(const timeInfo &)=delete
No copy construct.
void operator=(const timeInfo &)=delete
No copy assignment.
Writes the run time (time-step), cpuTime and clockTime - optionally with cpuTime and clockTime change...
virtual bool read(const dictionary &dict)
Read the controls.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
virtual ~timeInfo()=default
Destructor.
const word & name() const noexcept
Return the name of this functionObject.
virtual bool execute()
Execute, does nothing.
Base class for writing single files from the function objects.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
TypeName("timeInfo")
Runtime type information.
virtual bool write()
Write the timeInfo.