46 #define ReadFields(GeoFieldType) \ 47 readFields<GeoFieldType>(mesh, objects, selectedFields, storedObjects); 49 #define ReadPointFields(GeoFieldType) \ 50 readFields<GeoFieldType>(pMesh, objects, selectedFields, storedObjects); 52 #define ReadUniformFields(FieldType) \ 53 readUniformFields<FieldType> \ 54 (constantObjects, selectedFields, storedObjects); 56 void executeFunctionObjects
100 ReadPointFields(pointVectorField);
101 ReadPointFields(pointSphericalTensorField);
102 ReadPointFields(pointSymmTensorField);
103 ReadPointFields(pointTensorField);
108 ReadUniformFields(uniformDimensionedScalarField);
109 ReadUniformFields(uniformDimensionedVectorField);
110 ReadUniformFields(uniformDimensionedSphericalTensorField);
111 ReadUniformFields(uniformDimensionedSymmTensorField);
112 ReadUniformFields(uniformDimensionedTensorField);
114 Info<<
nl << "Executing functionObjects" << endl;
125 while (!storedObjects.
empty())
132 int main(
int argc,
char *argv[])
176 runTime.
setTime(timeDirs[timei], timei);
196 executeFunctionObjects
203 timei == timeDirs.
size()-1
A LIFO stack based on a singly-linked list.
A HashTable with keys but without contents.
bool empty() const
Return true if the list is empty.
wordList ReadFields(const Mesh &mesh, const IOobjectList &objects, PtrList< GeoField > &fields, const bool syncPar=true)
Read all fields of the specified type.
#define forAll(list, i)
Loop across all elements in list.
List of IOobjects with searching and retrieving facilities.
A list of keyword definitions, which are a keyword followed by any number of values (e...
static bool postProcess
Global post-processing mode switch.
static void list()
Print a list of functionObject configuration files in.
void size(const label)
Override size to be inconsistent with allocated storage.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Field reading functions for post-processing utilities.
static word timeName(const scalar, const int precision=precision_)
Return time name of given scalar time.
bool insert(const Key &key)
Insert a new entry.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
static const pointMesh & New(const polyMesh &mesh)
Mesh representing a set of points created from polyMesh.
if(args.optionReadIfPresent("region", regionName))
T pop()
Pop the top element off the stack.
bool optionFound(const word &opt) const
Return true if the named option is found.
Extract command arguments and options from the supplied argc and argv parameters. ...
virtual void setTime(const Time &)
Reset the time and time-index to those of the given time.
List of function objects with start(), execute() and end() functions that is called for each object...
bool checkOut()
Remove object from registry.
static instantList select0(Time &runTime, const argList &args)
Return the set of times selected based on the argList options.
Mesh data needed to do the Finite Volume discretisation.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
IStringStream optionLookup(const word &opt) const
Return an IStringStream from the named option.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
static autoPtr< functionObjectList > New(const argList &args, const Time &runTime, dictionary &controlDict, HashSet< word > &requiredFields)
Construct and return a functionObjectList for an application.
bool end()
Called when Time::run() determines that the time-loop exits.
static void addOptions(const bool constant=true, const bool withZero=false)
Add the options handled by timeSelector to argList::validOptions.