35 namespace functionObjects
71 dict.
lookup(
"fields") >> fieldSet_;
94 const word& fieldName = fieldSet_[fieldi];
97 loadField<scalar>(fieldName, vsf_, ssf_);
98 loadField<vector>(fieldName, vvf_, svf_);
99 loadField<sphericalTensor>(fieldName, vSpheretf_, sSpheretf_);
100 loadField<symmTensor>(fieldName, vSymmtf_, sSymmtf_);
101 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 &)
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.