Go to the documentation of this file.
92 #ifndef functionObjects_readFields_H
93 #define functionObjects_readFields_H
103 namespace functionObjects
112 public fvMeshFunctionObject
146 const dictionary&
dict
169 virtual bool write();
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling words, derived from Foam::string.
readFields(const word &name, const Time &runTime, const dictionary &dict)
Construct for given objectRegistry and dictionary.
bool readOnStart_
Flag to read on construction.
virtual bool read(const dictionary &)
Read the set of fields from dictionary.
void operator=(const readFields &)=delete
No copy assignment.
virtual bool execute()
Read the fields.
Specialization of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
List< word > wordList
A List of words.
virtual ~readFields()=default
Destructor.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual bool write()
Do nothing.
void readFields(const typename GeoFieldType::Mesh &mesh, const IOobjectList &objects, const wordHashSet &selectedFields, LIFOStack< regIOobject * > &storedObjects)
Read the selected GeometricFields of the templated type.
wordList fieldSet_
Fields to load.
const word & name() const
Return the name of this functionObject.
bool loadField(const word &)
Load field.
TypeName("readFields")
Runtime type information.
Reads fields from the time directories and adds them to the mesh database for further post-processing...