40 #ifndef functionObjectList_H 41 #define functionObjectList_H 99 static void checkUnsetEntries
101 const string& funcNameArgs,
104 const string& context
124 const bool execution=
true 139 const bool execution=
true 220 const word& funcName,
245 const string& funcCall,
247 const string& context,
bool read()
Read and set the function objects if their data have changed.
void operator=(const functionObjectList &)=delete
Disallow default bitwise assignment.
A HashTable with keys but without contents.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A class for handling file names.
functionObjectList(const Time &runTime, const bool execution=true)
Construct from Time and the execution setting.
void off()
Switch the function objects off.
scalar timeToNextWrite()
Return the time to the next write.
runTime controlDict().lookup("adjustTimeStep") >> adjustTimeStep
A list of keyword definitions, which are a keyword followed by any number of values (e...
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
static void list()
Print a list of functionObject configuration files in.
void on()
Switch the function objects on.
Abstract base-class for Time/database functionObjects.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
bool start()
Called at the start of the time-loop.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
bool execute()
Called at each ++ or += of the time-loop.
A class for handling words, derived from string.
static bool readFunctionObject(const string &funcCall, dictionary &functionsDict, const string &context, HashSet< word > &requiredFields, const word ®ion=word::null)
Read the specified functionObject configuration dictionary.
Extract command arguments and options from the supplied argc and argv parameters. ...
static const word null
An empty word.
~functionObjectList()
Destructor.
List of function objects with start(), execute() and end() functions that is called for each object...
word name(const complex &)
Return a string representation of a complex.
void clear()
Clear the list of function objects.
bool setTimeStep()
Override the time-step value.
bool status() const
Return the execution status (on/off) of the function objects.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Mesh consisting of general polyhedral cells.
label findObjectID(const word &name) const
Find the ID of a given function object by name.
void updateMesh(const mapPolyMesh &mpm)
Update for changes of mesh.
static autoPtr< functionObjectList > New(const argList &args, const Time &runTime, dictionary &controlDict, HashSet< word > &requiredFields)
Construct and return a functionObjectList for an application.
Foam::argList args(argc, argv)
void movePoints(const polyMesh &mesh)
Update for changes of mesh.
static fileName functionObjectDictPath
Default relative path to the directory structure.
bool end()
Called when Time::run() determines that the time-loop exits.
static fileName findDict(const word &funcName, const word ®ion=word::null)
Search for functionObject dictionary file for given region.