135#ifndef Foam_functionObjects_caseInfo_H
136#define Foam_functionObjects_caseInfo_H
189 static const Enum<writeFormat> writeFormatNames_;
192 static const Enum<lookupMode> lookupModeNames_;
210 void report(
const string& str)
const;
218 const entry* excludePtr
296 virtual bool write();
Enum is a wrapper around a list of names/values that represent particular enumeration (or int) values...
IOdictionary(const IOobject &io, const dictionary *fallback=nullptr)
Construct given an IOobject and optional fallback dictionary content.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
const word & name() const
Name function is needed to disambiguate those inherited from regIOobject and dictionary.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
dictionary()
Default construct, a top-level empty dictionary.
friend class entry
Declare friendship with the entry class for IO.
A keyword and a list of tokens is an 'entry'.
Class to handle errors and exceptions in a simple, consistent stream-based manner.
Collects and writes case information to file.
void writeRegisteredDicts(const objectRegistry &obr, dictionary &dict, dictionary &dictionaries) const
Write registered dictionaries.
writeFormat
Write format enumeration.
lookupMode
Lookup mode enumeration.
void writeMeshStats(const polyMesh &mesh, dictionary &dict) const
Write mesh statistics.
void writeMeta(dictionary &dict) const
Write case meta data.
caseInfo(const caseInfo &)=delete
No copy construct.
void operator=(const caseInfo &)=delete
No copy assignment.
void writeFunctionObjects(dictionary &dict) const
Write function object results.
void writePatches(const fvMesh &mesh, dictionary &dict) const
Write mesh patches.
virtual bool execute()
Execute the function-object operations (no-op).
virtual bool write()
Write the function-object results.
void writeFileDicts(dictionary &dict, dictionary &dictionaries) const
Write file-based dictionaries.
virtual ~caseInfo()=default
Destructor.
TypeName("caseInfo")
Runtime type information.
virtual bool read()
Read object.
Base class for function objects, adding functionality to read/write state information (data required ...
stateFunctionObject(const stateFunctionObject &)=delete
No copy construct.
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.
Mesh data needed to do the Finite Volume discretisation.
Registry of regIOobjects.
Mesh consisting of general polyhedral cells.
virtual bool write(const bool writeOnProc=true) const
Write using setting from DB.
virtual bool read()
Read object.
A class for handling words, derived from Foam::string.
Function objects are OpenFOAM utilities to ease workflow configurations and enhance workflows.
List< word > wordList
List of word.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.