33template<
class GeoMeshType>
43 const auto* ioptr = obr.cfindObject<
regIOobject>(fieldName);
54 if (subreg && (ioptr = subreg->cfindObject<regIOobject>(fieldName)))
64template<
class GeoMeshType>
72 const objectRegistry& obr = *
this;
74 if (obr.found(fieldName))
81 const objectRegistry* subreg = isA<objectRegistry>(iter.val());
83 if (subreg && subreg->found(fieldName))
93template<
class Type,
class GeoMeshType>
96 const word& fieldName,
110 dimfield->field() = values;
134template<
class Type,
class GeoMeshType>
137 const word& fieldName,
151 dimfield->field() = std::move(values);
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const dimensionSet & dimensions() const
Return dimensions.
Generic templated field type.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
Dimension set for the base types, which can be used to implement rigorous dimension checking for alge...
void reset(const dimensionSet &ds)
Copy assign the exponents from the dimensionSet.
Registry of regIOobjects.
objectRegistry(const Time &db, const label nObjects=128)
Type * getObjectPtr(const word &name, const bool recursive=false) const
const objectRegistry * whichRegistry(const word &fieldName) const
void storeField(const word &fieldName, const dimensionSet &dims, const Field< Type > &values)
Copy/store named field as face or point data (template parameter).
const regIOobject * findFieldObject(const word &fieldName, const FieldAssociation association) const
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
regIOobject(const IOobject &io, const bool isTimeObject=false)
A class for handling words, derived from Foam::string.
Fields (face and point) for polySurface.
#define forAllConstIters(container, iter)
Iterate across all elements of the container object with const access.