Go to the documentation of this file.
39 #ifndef functionObjectList_H
40 #define functionObjectList_H
114 const bool execution=
true
127 const bool execution=
true
153 virtual void clear();
165 virtual bool status()
const;
169 virtual bool start();
174 virtual bool execute(
const bool forceWrite =
false);
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
virtual void movePoints(const polyMesh &mesh)
Update for changes of mesh.
virtual 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.
virtual bool adjustTimeStep()
Called at the end of Time::adjustDeltaT() if adjustTime is true.
A class for handling words, derived from string.
List< SHA1Digest > digests_
A list of SHA1 digests for the function object dictionaries.
void createStateDict() const
Create state dictionary.
virtual void on()
Switch the function objects on.
functionObject * remove(const word &, label &oldIndex)
Remove and return the function object pointer by name,.
virtual void updateMesh(const mapPolyMesh &mpm)
Update for changes of mesh.
void operator=(const functionObjectList &)
Disallow default bitwise assignment.
IOdictionary & stateDict()
Return the state dictionary.
const dictionary & parentDict_
The parent dictionary containing a "functions" entry.
List of function objects with start(), execute() and end() functions that is called for each object.
virtual bool start()
Called at the start of the time-loop.
virtual label findObjectID(const word &name) const
Find the ID of a given function object by name.
Mesh consisting of general polyhedral cells.
Abstract base-class for Time/database function objects.
virtual void clear()
Clear the list of function objects.
HashTable< label > indices_
Quick lookup of the index into functions/digests.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
virtual void off()
Switch the function objects off.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
A list of keyword definitions, which are a keyword followed by any number of values (e....
functionObjectList(const functionObjectList &)
Disallow default bitwise copy construct.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
bool execution_
Switch for the execution of the functionObjects.
virtual bool execute(const bool forceWrite=false)
Called at each ++ or += of the time-loop. forceWrite overrides.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
bool updated_
Tracks if read() was called while execution is on.
autoPtr< IOdictionary > stateDictPtr_
Function object properties - stores state information.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
virtual ~functionObjectList()
Destructor.
virtual bool read()
Read and set the function objects if their data have changed.
virtual bool end()
Called when Time::run() determines that the time-loop exits.
word name(const complex &)
Return a string representation of a complex.
virtual bool timeSet()
Called when time was set at the end of the Time::operator++.