35 namespace functionObjects
71 dict.
lookup(
"fields") >> fields_;
100 const word& fieldName = fields_[fieldi];
103 loadField<scalar>(fieldName, vsf_, ssf_);
104 loadField<vector>(fieldName, vvf_, svf_);
105 loadField<sphericalTensor>(fieldName, vSpheretf_, sSpheretf_);
106 loadField<symmTensor>(fieldName, vSymmtf_, sSymmtf_);
107 loadField<tensor>(fieldName, vtf_, stf_);
#define forAll(list, i)
Loop across all elements in list.
void readFields(const typename GeoFieldType::Mesh &mesh, const IOobjectList &objects, const HashSet< word > &selectedFields, LIFOStack< regIOobject *> &storedObjects)
Read the selected GeometricFields of the specified type.
A list of keyword definitions, which are a keyword followed by any number of values (e...
addToRunTimeSelectionTable(functionObject, Qdot, dictionary)
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Macros for easy insertion into run-time selection tables.
virtual bool read(const dictionary &)
Read the set of fields from dictionary.
virtual bool execute()
Read the fields.
virtual bool read(const dictionary &)
Read optional controls.
bool read(const char *, int32_t &)
virtual wordList fields() const
Return the list of fields required.
readFields(const word &name, const Time &runTime, const dictionary &dict)
Construct for given objectRegistry and dictionary.
A class for handling words, derived from string.
virtual bool write()
Do nothing.
defineTypeNameAndDebug(Qdot, 0)
virtual ~readFields()
Destructor.
Specialisation of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.