40 #ifndef functionObjectList_H 41 #define functionObjectList_H 55 class polyTopoChangeMap;
123 const bool execution=
true 138 const bool execution=
true 221 const word& funcName,
244 const string& funcArgs,
bool read()
Read and set the function objects if their data have changed.
void operator=(const functionObjectList &)=delete
Disallow default bitwise assignment.
virtual void topoChange(const polyTopoChangeMap &map)
Update topology using the given map.
A HashTable with keys but without contents.
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
static bool readFunctionObject(const string &funcArgs, dictionary &functionsDict, const Pair< string > &contextTypeAndValue, const word ®ion=word::null)
Read the specified functionObject configuration dictionary.
A list of keyword definitions, which are a keyword followed by any number of values (e...
static wordList list()
Return the list of functionObject configuration files in.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void on()
Switch the function objects on.
virtual void mapMesh(const polyMeshMap &)
Update from another mesh using the given map.
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.
bool execute()
Called at each ++ or += of the time-loop.
An ordered pair of two objects of type <T> with first() and second() elements.
A class for handling words, derived from string.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
Extract command arguments and options from the supplied argc and argv parameters. ...
static const word null
An empty word.
virtual ~functionObjectList()
Destructor.
List of function objects with start(), execute() and end() functions that is called for each object...
An STL-conforming hash table.
word name(const complex &)
Return a string representation of a complex.
void clear()
Clear the list of function objects.
bool status() const
Return the execution status (on/off) of the function objects.
static autoPtr< functionObjectList > New(const argList &args, const Time &runTime, dictionary &controlDict)
Construct and return a functionObjectList for an application.
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.
Class containing mesh-to-mesh mapping information.
Foam::argList args(argc, argv)
virtual void movePoints(const polyMesh &mesh)
Update topology using the given map.
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.