33 template<
class GeoFieldType>
43 ptr =
new GeoFieldType
55 mesh_.objectRegistry::store(ptr);
GeoFieldType & getOrReadField(const word &fieldName) const
Return requested field from the object registry or read+register the field to the object registry...
const Time & time() const
Return the top-level database.
A class for handling words, derived from Foam::string.
Type * getObjectPtr(const word &name, const bool recursive=false) const
Return non-const pointer to the object of the given Type, using a const-cast to have it behave like a...
static word timeName(const scalar t, const int precision=precision_)
Return time name of given scalar time formatted with the given precision.
Automatically write from objectRegistry::writeObject()
Defines the attributes of an object for which implicit objectRegistry management is supported...