39 #ifndef functionObjects_regionFunctionObject_H 40 #define functionObjects_regionFunctionObject_H 52 namespace functionObjects
78 template<
class ObjectType>
82 template<
class ObjectType>
86 template<
class ObjectType>
90 template<
class ObjectType>
95 bool cacheable =
false Specialization of Foam::functionObject for a region and providing a reference to the region Foam::obj...
bool writeObject(const word &fieldName)
Write field if present in objectRegistry.
const word & name() const
Return the name of this functionObject.
A list of keyword definitions, which are a keyword followed by any number of values (e...
Abstract base-class for Time/database function objects.
const ObjectType & lookupObject(const word &fieldName) const
Lookup object from the objectRegistry.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
virtual bool read(const dictionary &)
Read optional controls.
A class for handling words, derived from string.
TypeName("regionFunctionObject")
Runtime type information.
virtual ~regionFunctionObject()
Destructor.
bool store(word &fieldName, const tmp< ObjectType > &tfield, bool cacheable=false)
Store the given field in the objectRegistry under the given name.
bool foundObject(const word &fieldName) const
Find field in the objectRegistry.
bool clearObject(const word &fieldName)
Clear field from the objectRegistry if present.
const Time & time_
Reference to the Time.
ObjectType & lookupObjectRef(const word &fieldName)
Lookup non-const object reference from the objectRegistry.
const objectRegistry & obr_
Reference to the region objectRegistry.
A class for managing temporary objects.
Registry of regIOobjects.