72#ifndef Foam_functionObjects_timeInfo_H
73#define Foam_functionObjects_timeInfo_H
150 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.
timeFunctionObject(const timeFunctionObject &)=delete
No copy construct.
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 function-object dictionary.
void operator=(const timeInfo &)=delete
No copy assignment.
virtual void writeFileHeader(Ostream &os)
Output file header information.
virtual bool execute()
Execute the function-object operations (no-op).
timeInfo(const timeInfo &)=delete
No copy construct.
virtual bool write()
Write the function-object results.
Base class for writing single files from the function objects.
writeFile(const objectRegistry &obr, const fileName &prefix, const word &name="undefined", const bool writeToFile=true, const string &ext=".dat")
Construct from objectRegistry, prefix, fileName.
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
Function objects are OpenFOAM utilities to ease workflow configurations and enhance workflows.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.