69#ifndef functionObjects_timeInfo_H
70#define functionObjects_timeInfo_H
79namespace functionObjects
88 public timeFunctionObject,
147 virtual bool write();
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
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 a number of values (eg,...
const word & name() const noexcept
Return the name of this functionObject.
Virtual base class for function objects with a reference to Time.
Writes the run time (time-step), cpuTime and clockTime - optionally with cpuTime and clockTime change...
virtual ~timeInfo()=default
Destructor.
TypeName("timeInfo")
Runtime type information.
virtual bool read(const dictionary &dict)
Read the controls.
void operator=(const timeInfo &)=delete
No copy assignment.
virtual void writeFileHeader(Ostream &os)
Output file header information.
virtual bool execute()
Execute, does nothing.
timeInfo(const timeInfo &)=delete
No copy construct.
virtual bool write()
Write the timeInfo.
Base class for writing single files from the function objects.
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.