35 namespace functionObjects
45 Foam::functionObjects::readFields::readFields
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...
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 &)
A class for handling words, derived from string.
virtual bool write()
Do nothing.
virtual ~readFields()
Destructor.
Specialization of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
defineTypeNameAndDebug(fvMeshFunctionObject, 0)
addToRunTimeSelectionTable(functionObject, add, dictionary)
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.