Go to the documentation of this file.
43 #ifndef functionObjectList_H
44 #define functionObjectList_H
109 void createStateDict()
const;
112 void createOutputRegistry()
const;
146 const bool execution=
true
161 const bool execution=
true
256 const string& funcNameArgs0,
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
void movePoints(const polyMesh &mesh)
Update for changes of mesh.
bool status() const
Return the execution status (on/off) of the function objects.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
bool adjustTimeStep()
Called at the end of Time::adjustDeltaT() if adjustTime is true.
static fileName findDict(const word &funcName)
A class for handling words, derived from Foam::string.
A class for handling file names.
void on()
Switch the function objects on.
IOdictionary & stateDict()
void updateMesh(const mapPolyMesh &mpm)
Update for changes of mesh.
Extract command arguments and options from the supplied argc and argv parameters.
bool execute()
Called at each ++ or += of the time-loop.
List of function objects with start(), execute() and end() functions that is called for each object.
bool start()
Called at the start of the time-loop.
label findObjectID(const word &name) const
Find the ID of a given function object by name, -1 if not found.
Mesh consisting of general polyhedral cells.
void clear()
Clear the list of function objects.
Registry of regIOobjects.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void off()
Switch the function objects off.
label triggerIndex() const
Return the current trigger index (read from the stateDict)
word name(const complex &c)
Return string representation of complex.
runTime controlDict().readEntry("adjustTimeStep"
static fileName functionObjectDictPath
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
~functionObjectList()=default
Destructor.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
static autoPtr< functionObjectList > New(const argList &args, const Time &runTime, dictionary &controlDict, HashSet< wordRe > &requiredFields)
Construct and return a functionObjectList for an application.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
static bool readFunctionObject(const string &funcNameArgs0, dictionary &functionsDict, HashSet< wordRe > &requiredFields, const word ®ion=word::null)
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
static const word null
An empty word.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
bool read()
Read and set the function objects if their data have changed.
void resetState()
Reset/read state dictionary for current time.
Foam::argList args(argc, argv)
bool end()
Called when Time::run() determines that the time-loop exits.
objectRegistry & storedObjects()
bool filesModified() const
Did any file get changed during execution?