Go to the documentation of this file.
33 template<
class Type,
class GeoMeshType>
36 const word& fieldName,
49 dimfield->field() =
values;
73 template<
class Type,
class GeoMeshType>
76 const word& fieldName,
77 const dimensionSet& dims,
81 const objectRegistry& fieldDb = *
this;
84 fieldDb.
getObjectPtr<DimensionedField<Type, GeoMeshType>>(fieldName);
88 dimfield->dimensions() = dims;
89 dimfield->field() = std::move(
values);
93 dimfield =
new DimensionedField<Type, GeoMeshType>
Type * getObjectPtr(const word &name, const bool recursive=false) const
Defines the attributes of an object for which implicit objectRegistry management is supported,...
A class for handling words, derived from Foam::string.
void storeField(const word &fieldName, const dimensionSet &dims, const Field< Type > &values)
List< T > values(const HashTable< T, Key, Hash > &tbl, const bool doSort=false)
Dimension set for the base types, which can be used to implement rigorous dimension checking for alge...
Registry of regIOobjects.
const dimensionSet & dimensions() const
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...