Go to the documentation of this file.
52 #define ReadFields(GeoFieldType) \
53 readFields<GeoFieldType>(mesh, objects, selectedFields, storedObjects);
55 #define ReadPointFields(GeoFieldType) \
56 readFields<GeoFieldType>(pMesh, objects, selectedFields, storedObjects);
58 #define ReadUniformFields(FieldType) \
59 readUniformFields<FieldType> \
60 (constantObjects, selectedFields, storedObjects);
62 void executeFunctionObjects
120 Info<<
nl <<
"Executing functionObjects" <<
endl;
131 while (!storedObjects.empty())
138 int main(
int argc,
char *argv[])
142 "Execute the set of functionObjects specified in the selected"
143 " dictionary or on the command-line for the"
144 " selected set of times on the selected set of fields"
209 functionsPtr->movePoints(
mesh);
216 functionsPtr->updateMesh(mpm);
227 <<
"Unhandled enumeration"
232 fields.resetFieldFilters(fieldFilters);
240 executeFunctionObjects
247 timei == timeDirs.size()-1
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
wordList ReadFields(const typename GeoMesh::Mesh &mesh, const IOobjectList &objects, PtrList< GeometricField< Type, PatchField, GeoMesh >> &fields, const bool syncPar=true, const bool readOldTime=false)
static const pointMesh & New(const polyMesh &mesh, Args &&... args)
static word timeName(const scalar t, const int precision=precision_)
bool throwing() const noexcept
static void addNote(const string ¬e)
Extract command arguments and options from the supplied argc and argv parameters.
Ostream & endl(Ostream &os)
A HashTable with keys but without contents that is similar to std::unordered_set.
T get(const label index) const
List of function objects with start(), execute() and end() functions that is called for each object.
A wordRe is a Foam::word, but can contain a regular expression for matching words or strings.
virtual readUpdateState readUpdate()
Helper class to manage file-based field selections.
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)
Mesh data needed to do the Finite Volume discretisation.
Mesh representing a set of points created from polyMesh.
errorManip< error > abort(error &err)
List of IOobjects with searching and retrieving facilities.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Field reading functions for post-processing utilities.
const word & executable() const noexcept
static void addOptions(const bool constant=true, const bool withZero=false)
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
virtual void setTime(const Time &t)
static bool print(Ostream &os)
List< T > getList(const label index) const
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
#define FatalErrorIn(functionName)
A LIFO stack based on a singly-linked list.
static instantList select0(Time &runTime, const argList &args)
const word & constant() const
Generic GeometricField class.
Foam::argList args(argc, argv)
multivariateSurfaceInterpolationScheme< scalar >::fieldTable fields
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
bool found(const word &optName) const